home *** CD-ROM | disk | FTP | other *** search
-
- DATECOPY.DOC - Documentation for DateCopy version 1.03 12/05/1991
-
- Documentation and executable code Copyright (c) 1991 Michael E. Ralphson
-
-
- Disclaimer:
- ===========
-
- The Author retains copyright in that he alone has the right to make copies for
- profit. In all other respects users may treat this software as if it were in
- the Public Domain, as long as the package is distributed whole and unmodified.
-
- In my opinion this software is perfectly safe and is free of any serious bugs,
- however I have to make it clear that use of this software constitutes the
- user's full acknowledgement that the author takes no responsibility WHATSOEVER
- for the consequences of such use.
-
- Commercial users must register within 30 days if they wish to continue using
- this software. For non-commercial users registration is purely voluntary. See
- enclosed Register.Txt for more details.
-
-
- Introduction:
- =============
-
- DateCopy is a companion program to DateRen. It copies files that were last
- modified on or after a specified date. Optionally you may limit the files
- copied to only those date-stamped ON the specified date, those date-stamped on
- or BEFORE the specified date, or by omitting any date on the command-line use
- the current system date instead.
-
- You may also opt to move the files instead of copying them. If the source and
- destination directories are on the same logical drive DateCopy will do an
- extended RENAME instead of a copy and delete. The word FAST appears by the file
- name when this happens.
-
- You can also use DateCopy as a general purpose 'Move' utility if you haven't
- already got one.
-
- DateCopy owes its existence to Mark Cracknell who originally asked for such a
- utility and specified how it should work.
-
-
- Usage:
- ======
-
- Basically there are four different combinations of DateCopy operations.
-
- 1) DateCopy <filespec> <path>
-
- DateCopy will copy all those files matching <filespec> (eg: *.PAS) to the drive
- / directory <path> that are date-stamped with the current system date (or
- later). If you suspect some of your files have a corrupt (ie future)
- date-stamps then specify the /O (only) switch. The above with the /B switch
- would be equivalent to the DOS COPY command.
-
- 2) DateCopy <filespec> <path> <date>
-
- Copies all files date-stamped <date> or AFTER.
-
- 3) DateCopy <filespec> <path> <date> /O
-
- Copies all files date-stamped <date> ONLY.
-
- 4) DateCopy <filespec> <path> <date> /B
-
- Copies all files date-stamped <date> or BEFORE.
-
- Any of the above could have /M specified, indicating that the files would be
- moved instead of copied.
-
-
- Other Notes:
- ============
-
- DateCopy is functional with any date between the first of January 1980 (the
- date set on many computers if the battery backed-up clock fails) and the
- thirty-first of December 2079.
-
- On the command-line when specifying dates always include leading zeroes. For
- instance always enter 01JAN91 rather than 1JAN91. This also applies to month
- numbers if you use the numeric format, ie: always 010190 rather than 1190!
-
- DateCopy only allows you to specify a drive and / or directory to copy the
- files to. Unlike DOS Copy you may not use a command such as:
-
- DateCopy *.pas d:\*.bak
-
- Remember that DateCopy will not change the file-name in any way.
-
-
- Revision History:
- =================
-
- 1.00 - Never existed. Date???? utility versions are always the same.
-
- 1.01 - From Mark Cracknell's original specification.
-
- 1.02 - Copies Read-Only files and retains file's original attributes and
- date-time stamp.
-
- 1.03 - /B switch and file moving.
-