Short: Move files in DL to local Aminet mirror Author: kennecni@idgOnline.no (Kenneth C. Nilsen) Uploader: kennecni@idgOnline.no (Kenneth C. Nilsen) Type: disk/misc Requires: kickstart 37 or higher MoveToMirror (BETA) 0.2 (25.11.96) This tools can be used locally to move the files you have in your download directory to a local Aminet mirror on your disk. The task is simple.. it's the only one. :) Beta test feedback reports it to work fine and it does too on my own machine, but since I haven't tested it fully I choose to let it be beta a while until I get feedback. You can suggest options to include (thanks to Tor Atle H. Kleven for betatesting 0.1ß/0.2ß). USAGE: MoveToMirror [sourcedir] [destdir] [-v] [-r] [-d] sourcedir - copy from this directory (file + readme) destdir - copy to this root dir (+ type specs) -v - verbose actions -r - do not copy readme files to destdir -d - delete source files after a successful copy (move) Example: We have two files in our download directory: MoveToMirror.lha MoveToMirror.readme We set: MoveToMirror download: download:Aminet/ -v -d The MTM will then search the .readme file and find 'type: disk/misc'. It then tries to lock the Download:Aminet/disk/misc which it then will not find. It then creates the directories and copies the two files into download:Aminet/disk/misc/ The verbose output will look like this: > MoveToMirror.readme -> disk/misc (mkdir) (mkdir) - Moving - Ok! MTM does error checking in most cases so you will get message in verbose mode and more fatal errors in non-verbose mode as well. Readme files that doesn't have the type line will be left in the download directory untouched. NOTES: This program is still beta software. Use it at your own risk! This program is FREEWARE! HISTORY: 0.2ß (25.11.96) - Rewrote algoritms for moving files, creating dirs etc. - 0.1ß Caused a yellow alert on some machines - Better error checking and outputing - Seem to work fine here. 0.1ß (22.11.96) - Initial release --- Kenneth C. Nilsen (kennecni@IDGonline.no) http://*** new comming up *** ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 4924 2207 55.1% 25-Nov-96 04:31:30 MoveToMirror 2037 1025 49.6% 25-Nov-96 04:27:50 MoveToMirror.readme -------- ------- ----- --------- -------- 6961 3232 53.5% 25-Nov-96 18:50:30 2 files