this will give us a stable point on which we can make changes in coordination via git. NO MORE USING A SHARED DROPBOX Last major commit wihout a PR against a Medley issue.
9 lines
4.1 KiB
Plaintext
9 lines
4.1 KiB
Plaintext
XEROX COMPAREDIRECTORIES
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
COMPAREDIRECTORIES
|
||
1
|
||
|
||
4
|
||
|
||
By: Larry Masinter (Masinter.pa@Xerox)
|
||
This document edited on December 2, 1987, December 28, 1998 (Ron Kaplan).
|
||
INTRODUCTION
|
||
COMPAREDIRECTORIES compares the contents of two directories, checking to see if all of the files in both match in respect to name and creation date. It is called using the function
|
||
MODULE DESCRIPTION
|
||
(COMPAREDIRECTORIES FROMDIR TODIR SHOW=FILESTOO USELISPFILEDATE FILEPATTERN LISTINGFILE EXTENSIONSTOAVOID) [Function]
|
||
This says that for each file in FROMDIR, see if a file with the same name and creation date exists on TODIR.
|
||
If it doesn't exist, or exists with a different date, COMPAREDIRECTORIES will print a message. If the file's the same, no message will be printed (unless SHOW=FILESTOO is non-NIL).
|
||
If USELISPFILEDATE is non-NIL, then comparison is based on the date returned by FILEDATE, if any, instead of the file's creation date. FILEDATE returns the FILECREATED date of Lisp source and compiled files.
|
||
FILEPATTERN and EXTENSIONSTOAVOID can be used to restrict the files that enter into the comparison.
|
||
LISTINGFILE can be a filename or stream to print the results on.
|
||
The messages are generally of the form
|
||
SOURCEFILE(AUTHOR) [DATE] comparison [DATE] TOFILE(AUTHOR)
|
||
For example
|
||
ACE.;1(Sannella) [2-May-85 18:03:54] << [30-Sep-85 11:14:48] ACE.;3(Sybalsky)
|
||
Where "<" means "older than", ">" means "newer than" and "==" means the same date. "**" indicates that the file is missing from one of the directories.
|
||
|
||
|