Short: Create/maintain exact copy of dir (V1.4) Author: jhschulz@gmx.de (Jan Hendrik Schulz) Uploader: jhschulz@gmx.de (Jan Hendrik Schulz) Version: 1.4 Type: util/cli MirrorCopy is a shell filecopy command, which is able to create and update an exact copy (mirror) of all the files and subdirectories (including there contents) located in a source directory. I use it to maintain a mirror copy of my system partition on a bootable ZIP disk. That way I not only have a backup of my system partition, I can even boot directly off this backup (if I need to) and have all the tools etc available I'm used to. The main features of MirrorCopy are: - The destination directory will contain exactly the same files and subdirectories as the source directory - and nothing more! - The attributes (date, comment and protection flags) of the files and subdirectories in the destination directory are set exactly to the same values as in the source directory. - MirrorCopy takes care of what the destination directory allready contains: - only those files are copied, that need to be copied. - only those subdirectories are created, that need to be created - only those files and subdirectories are removed from the destination directory, that need to be removed. This is very usefull if you don't want to create a mirror copy, but if you want to update an allready existing mirror copy. - MirrorCopy can keep deleted or overwritten files in special 'deleted-/old-files' directories. - The contents of the source directory is not changed in any way! Not even the protection flags (like the archive flag) are changed. New in version 1.4: ------------------- - New NODEL keyword, to tell MirrorCopy not to remove old files and directories from the destination directory New in version 1.3: ------------------- - DELDIR/OLDDIR handling improved: - It is now possible to use directories who are inside the destination directory. - Some checks are performed to make sure the specified directories are valid. - To use the same directory for both, DELDIR and OLDDIR, it's now possible to write: DELDIR and OLDDIR=name/of/the/dir or: OLDDIR and DELDIR=name/of/the/dir - QUIET and VERBOSE keywords changed and new STAT keyword added to allow better control of the output. - Correct shell errorcodes are returned now, to allow e.g. the usage in scripts with error handling. - Some minor internal changes. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2488 1278 48.6% 11-Mar-99 23:14:50 MirrorCopy.info 13889 4969 64.2% 21-Sep-99 20:35:02 +Deutsch.guide 3096 1886 39.0% 11-Mar-99 23:14:50 +Deutsch.guide.info 12681 4415 65.1% 21-Sep-99 20:35:02 +English.guide 3096 1884 39.1% 11-Mar-99 23:14:50 +English.guide.info 14396 5824 59.5% 21-Sep-99 20:35:02 +MirrorCopy -------- ------- ----- --------- -------- 49646 20256 59.1% 22-Sep-99 23:01:34 6 files