Short: Decrypt full filenames on Mac-written DOS-disks Author: rade@coli.uni-sb.de (Ralph Debusmann) Uploader: rade coli uni-sb de (Ralph Debusmann) Type: disk/misc Architecture: m68k-amigaos --- short introduction For people who use DOS-disks to transfer files from any Mac (at work, at the uni) to their Amiga. When utilizing DOS-disks, MacOS puts the original (long) Mac-filenames into a file called "FINDER.DAT" and is thus able to overcome the DOS-8+3-naming convention. To get the full names again after transferring the files from the Mac to the DOS-disk and then to the Amiga you so far had to resort to ShapeShifter or just let the names as ugly as they were (with exclamation marks at the beginning of the filenames etc.). Up to now. Give MacTransfEr a directory with the ugly not-yet-renamed filenames and the corresponding "FINDER.DAT"-file and it will bring back your names as nicely as possible. I've put the program into operation using guesswork and reverse engineering of the strangely built "FINDER.DAT"-file-format. It works for me (using MacOS 7.5), but it is not guaranteered to work for you too. Don't blame me for anything, please :) --- args MacTransfEr parses two args (both of which are facultative). With the "CD=CURRENTDIR/S"-arg you can tell MacTransfEr to search for "FINDER.DAT" in the current directory and start renaming the files back there. Use this option if you plan to build MacTransfEr into your favourite Filemanager (DOpus, BrowserII). Given no "CD"-arg MacTransfEr opens up a ReqTools-requester asking you for the dir to scan. If you set the second switch, "DF=DELETEFINDERDAT/S", MacTransfEr will delete the "FINDER.DAT"-file after the renaming process has ended. Thus the usual way of operation for MacTransfEr is: 1. create a new directory on your HD or RAM-Disk 2. copy the Mac-written DOS-disks content including "FINDER.DAT" into this directory (you can omit the "RESOURCE.FRK"-directory). 3. Start MacTransFer the directory you just created as the current dir (using the "CD=CURRENTDIR/S"-switch) or give no "CD"-argument and tell MacTransfEr the directory's path via the ReqTools-requester. 4. Done. The names should be correct again and "FINDER.DAT" is removed (by the "DF"-switch). --- tech MacTransfEr was written using Eł and in a quick'n'dirty fashion. It's a hack. Nevertheless, the source is included.