Short: Copy or backup files,directories and links Author: thor@einstein.math.tu-berlin.de Uploader: thor einstein math tu-berlin de Type: disk/bakup Version: 1.35 Requires: OS 2.0 or better, "MUI" and "Argue" for the GUI, or "AWNPipe 2.22" Architecture: m68k-amigaos _____________________________________________________________________________ Purpose of this program: Copy one or multiple directories. This is absolutely nothing new, but unlike other copy tools, this one tries to copy links as well. If the link source and the link destination is copied, "SortCopy" will erase the link destination and re-create the link to the copy of the link source. This works for both, SoftLinks and HardLinks, as well as links to directories as long as the directory and the link to the directory is copied. For more information, as well as for the copyright, I'd like you to read the guide in this archive. _____________________________________________________________________________ WARNING: Even though "softlinks" are partially integrated into the OS, this does not mean that they are fully working! This is NOT a SortCopy problem at all. So "use at your own risk"! _____________________________________________________________________________ Version history: New in release 1.06: -Added the UPDATE command line option. See above for details. New in release 1.07: -SortCopy will now create a destination directory if it isn't already present. - The archive bit messages are now a bit shorter. New in release 1.20: Quite a lot: (Thus, the imense increase in the version number) - Added the PURGEBACKUP and PURGEONLY flags. - SortCopy can now copy files as well. - Links will be resolved across different wild card matches. This did not work before. - Rewrote major parts of this tool, code cleanup and minor bug fixes. - SortCopy is now "pure", i.e. can be made resident. New in release 1.21: - SortCopy handles now safely the situation where a file in the destination must be replaced by a directory from the source of the same name. - Introduced short-cuts for most command line options. - Wrote the guide. New in release 1.22: - SortCopy 1.21 showed a wrong error message in case the wildcard parsing failed. Fixed. New in release 1.23: - Fixed a bug in the directory scanner that could cause enforcer hits in case of a failure. - The destination directory is no longer created in case the source is not readable. New in release 1.24: - An obsolete directory gets deleted if a file of the same name is present in the source and the "OVERWRITE" keyword is given on the command line. Please note that SortCopy will NOT overwrite files by directories or directories by files if OVERWRITE is not given. - The meaning of the UPDATE option changed a bit. The file dates have no longer to be identical, but the backup must be older than the original to be replaced by a newer version. New in release 1.25: - Fixed a bug in the "OVERWRITE" keyword. New in release 1.25.1: - SortCopy remains unchanged, but I included a GUI for this program which was written by Alex and is included with his permission. This GUI requires MUI and "Argue". Both are available at the Aminet, "MUI" in its own archive and "Argue" in the archives "CyberQT.lha" or "CyberAVI.lha". Both are not included to keep the archive small, and to avoid copyright problems. New in release 1.26: - Fixed again some bugs in the link resolve routine, and a bug in the directory scanner. New in release 1.27: - Only cosmetic changes. New in release 1.28: - SortCopy returned a wrong error message in case the source pattern did not match any file. New in release 1.30: - SortCopy offers now "parallel I/O" for best performance. New in release 1.31: - SortCopy forgot to generate an error requester in case the asynchronous copy operation failed. Fixed. - Included the AWNPipe/Rexx based SortCopy GUI by Niels Goers, requires Os 3.5, Reaction and the AWNPipe 2.22 or better. Thanks, Niels! AWNPipe can be found here: http://www.btinternet.com/~bsteers/ New in release 1.32: - I found a fatal bug in the copy routine, it failed to copy files larger than the available memory. Fixed. - Included another GUI, thanks Alex! New in release 1.33: - Found again a fatal bug in the copy routine which did not handle ^C properly and could hang. *sigh* Fixed. New in release 1.34: - Found still another bug in the copy routine. It might have run into a hangup condition in case a file of length 0 was copied, and it still might have hung under certain other conditions, including a ^C. New in release 1.35: - Fixed a potential double unlock of a lock. - SortCopy did not copy empty files correctly. Fixed. ____________________________________________________________________________ Thomas, December 2000