Short: Move files in DL to local Aminet mirror Author: kenny@bgnett.no (Kenneth "Kenny" Nilsen) Uploader: kenny bgnett no (Kenneth "Kenny" Nilsen) Type: util/misc Version: 2.5 Replaces: util/misc/MTM* Requires: kickstart 37 or better, archives/files with "readme"'s :-) Architecture: m68k-amigaos $VER: MoveToMirror 2.5 (25.09.97) This program is _EMAIL-WARE!_ ----------- UPDATE NEWS: - Fixed a pretty silly bug which caused MTM to go busylooping forever. PURPOSE This tool is used to move the files you have in your download directory to a local Aminet mirror on your harddisk. The mirror is created by MTM itself based on the files beeing moved. You only select a destination root dir. FEATURES o Uses the README file to determine where to put the files o If sub dirs of destination (ex. "util/misc) doesn't exist MTM will create the sub-dirs o It can add filecomment using the "Short:" field of the readme file. If used, the original filecomment can be moved to the readme file. o Can add short: as filecomment before move in case if there is missing a type: field. o Can clone the original file's attributes such as filecomment, date, and protection bits o Can use pattern matching to move certain files o Can either copy the files or move them (deletes the originals) o You can choose to only copy the main files and exclude the readme's o You can choose to uppercase or lowercase all the sub-dir names o Autocorrects bad "type:" settings (ie. types with spaces). o Debug/verbose option to watch every action o Prints size of the existing file (if any) and the new file size o Very fast copying routine (large-buffered) o Small in size (core ~5 KB + texts and startup) and quick due to beeing written in assembler. Thanks to all you guys sending me nice letters with questions, suggestions, wishes and bug reports. Without you this program wouldn't be updated! TODO: - Support Replace: fields (*currently obsoleted) HISTORY: 2.5 (25.09.97) - Fixed a bug which caused MTM to go busyloop. Jumped back to previously local label instead of forward if a flag wasn't set. Fixed. Reported by Klaus Gessner and Joris Weidener. 2.4 (10.09.97) - Added two new options (on request). The -u and -l options. Requested by Greg Fitch. - Added new option (on request). The -b option. Requested by Joris Weidener. - Made MTM create one-level destdir if it doesn't exist. Report an error if the dir couldn't be created. - Fixed bug when user selects no on overwrite file. It still copied the readme file and set the short to the existing file. Reported by Klaus Gessner. - Prints size on already existing file as well as the new file. Requested by Klaus Gessner. 2.3 (04.09.97) - Added char 13 strip routine to fix readme files downloaded via PC's. Should now be able to create dirs based on such a file. Suggested by Herbert Breuer and Klaus Gessner. - Added strip routine to the type: field extractor. It now remove (illegal) spaces from path specs if any. - Reports error if destination root dir doesn't exist - Minor changes in output texts. 2.2 - Unofficial release (betatest version) 2.1 - Unofficial release 2.0 (27.03.97) - Completly rewritten. - Added new option (-p) for pattern matching. Requested by Torsten Pieper. - Added guide doc. 1.4 (09.03.97) - Added new feature. Short: of the readme file now becomes the filecomment unless the new option -n is used. - Some optimizing and text refreshing. 1.3 (03.03.97) - Fixed layout and info output when -a isn't used 1.2 (02.03.97) - Added checking of already existing files - Added new option (-a) 1.1 (01.02.97) - Added CLONE (-c) option. Requested by ??? - Bug: was case sensitive to "Type:". Fixed! - Bug: FIB wasn't LONG word aligned (only WORD). Fixed! - Bug: In non-verbose mode errors on 'type: not found' in readme file didn't print name on file. Fixed! 1.0 (25.12.96) - Main release (Aminet) 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 beta release MTM was made on a public request from Tor-Atle Kleven Regards, --- /"`` Kenny mailto:kenny@bgnett.no http://www.bgnett.no/~kenny/ \/ software developer finger me for details ---