home *** CD-ROM | disk | FTP | other *** search
-
- FDATE(DOS) MSDOS Operating System FDATE(DOS)
-
- NAME
- fdate - flexibly rename files to their dates
-
- SYNOPSIS
- fdate [ -d ] [ -x ] [ -j ] [ -c ] [ -f ] [ -sdays ] [ -odow
- ] [ -l ] [ -a ] file [[ options ] file ... ]
-
- DESCRIPTION
- Fdate is a program which uses certain rules to rename the
- files given to it to either the date of the file itself, or
- the ``current'' date. Fdate currently supports the Julian
- date format, YYYYMMDD format, and ``hex-seconds-since-the-
- epoch'' which should be familiar to C programmers.
-
- Options are:
-
- -d Date - the filename is set to the date, in
- YYYYMMDD format (default).
-
- -x Hex - the filename is set to the number of
- seconds, in hex, that last midnight GMT was, since
- 0:01 GMT on January 1, 1970.
-
- -j Julian - the file extension (filetype) is set to
- the Julian; i.e., the number of days since January
- 1, starting with 001.
-
- -c Current - use the ``current'' date, and not the
- date on the file.
-
- -f File - use the file's date, not the ``current''
- date (default).
-
- -sdays Subtract - subtract days days from the ``current''
- date.
-
- -odow Force - force the ``current'' date to the weekday
- numbered dow (using the scheme 0=Sunday, 6=Satur-
- day, etc.).
-
- -l Less - only do the rename if the date on the file
- is less than the ``current'' date.
-
- -a Always - always do the rename (default).
-
- NOTES
- The -s option is always performed before the -o option.
- Thus, it is possible (although perhaps not to useful) to
- rename files to the date of last Tuesday, last year.
-
- The -o option always uses the specified day immediately
- preceding today.
-
- AUTHOR
- Garrett A. Wollman
- 7 Worcester Street
- South Burlington, VT 05403
- USA
- (summer)
- gwollman@jhunix.hcf.jhu.edu
-
- SEE ALSO
- midnight(DOS), isnewer(DOS)
-
- COPYRIGHT
- Copyright (C) 1989, Garrett A. Wollman
- Portions Copyright (C) 1985-1989, Microsoft Corporation
-
- RESTRICTIONS
- By using this program, you agree that Garrett A. Wollman
- shall be held blameless for any damages resulting from use
- of or inability to use this software, regardless of jurisd-
- iction.
-
- Commercial and governmental users are required to pay a
- license fee of USD 2.50 for each computer to which this pro-
- gram is accessible. Any usage of this program, beyond a
- 30-day trial period, without this payment (if required) is
- absolutely prohibited.
-
- Organizations which are recognized non-profits under section
- 501(c)(3) of the U.S. Internal Revenue Code, or analogous
- legislation in other countries, are exempt from this
- requirement, although payment would still be appreciated.