COPYFILES Stored on: {eris}Library>CopyFiles.Tedit, .Press Last Modified: 11 Sept 1984 By: Sybalsky, Masinter This package makes it easy to copy or move groups of files from one place to another. (COPYFILES source destination options) Copies the files designated by source to the place designated by destination. source is a pattern such as given to DIRECTORY or DIR; it can also be a list of file names. destination is either a directory name, or a file-name pattern, with a 1-1 match of "*"s in to to "*"s in source. (There is minimal error checking here; for example, if source is a list of patterns, the number of *'s in each source pattern needs to match the number of *'s in each destination pattern.) options is a (list of) options: QUIET don't print anything while working (default is to print). (OUTPUT file) print output on file. (OUTPUT T) is the default. TERSE only print a "." for each file moved/copied. ASK ask each time before moving a file (default is to not ask). RENAME or MOVE use RENAMEFILE instead of COPYFILE, i.e., the source is deleted afterwards ALWAYS always copy, whether or not a file by the same name exists on the destination > copy only when a file by the same name but an earlier creation date exists on the destination >A Similar, but also copy if the file doesn't exist on the destination # Copy only when a file by the same name but a different creation date exists on the destination ># Similar, but also copy if the file doesn't exist on the destination ALLVERSIONS Copy ALL versions, and preserve version numbers REPLACE If a file by the same name exists on the destination, overwrite it (don't create a new version) Examples: (COPYFILES '{ERIS}*.MAIL '{PHYLUM}OLD-*.MAIL) will copy the any mail file on {Eris} to {Phylum}, renaming FOO.MAIL to OLD-FOO.MAIL. (COPYFILES '{ERIS}*.MAIL '{PHYLUM}OLD-*.MAIL 'RENAME) will use RENAMEFILE instead. (COPYFILES '({DSK}TEST {DSK}WEST) '{PHYLUM}) will move the files TEST and WEST from {DSK} to {PHYLUM}. (COPYFILES '{PHYLUM}*.AR '{PHYLEX:}ARS> '>A) will copy all of the ARs on {PHYLUM} to the Phylex NS file server; if any are already there, it won't bother copying them. (COPYFILES '{PHYLUM}AR.INDEX '{DSK}AR.INDEX '(>A REPLACE)) will copy the AR index to {DSK}, replacing any older version that is already there. COPYFILES({DSK}*.; {FLOPPY}) will copy all files on {DSK} with no extension to {FLOPPY}. ÔNILNIL HELVETICA TIMESROMAN HELVETICAÔ NILNILq TIMESROMANò$NILNILV TIMESROMAN ÔNILNIL GACHA  HELVETICA  TIMESROMAN GACHA  HELVETICA òNILNIL TIMESROMAN  TIMESROMAN  TIMESROMAN TIMESROMAN  TIMESROMAN  TIMESROMAN  TIMESROMAN GACHA  TIMESROMAN GACHA ' TIMESROMAN TIMESROMAN J TIMESROMAN GACHA  TIMESROMAN  TIMESROMAN  TIMESROMAN GACHA  TIMESROMAN  TIMESROMAN 9 TIMESROMAN  TIMESROMAN & TIMESROMAN GACHA TIMESROMAN  TIMESROMAN & TIMESROMAN GACHA TIMESROMAN TIMESROMAN  TIMESROMAN ¼NILNIL TIMESROMAN  TIMESROMAN HòNILNILGACHA ; TIMESROMAN HòNILNILGACHA HòNILNIL3 TIMESROMAN HòNILNILGACHA . TIMESROMAN HòNILNILGACHA = TIMESROMAN HòNILNILGACHA  TIMESROMAN GACHA  TIMESROMAN HòNILNIL TIMESROMAN GACHA TIMESROMAN GACHA ) TIMESROMAN HòNILNILGACHA P TIMESROMAN HòNILNILa TIMESROMAN HòNILNILGACHA E TIMESROMAN HòNILNILGACHA a TIMESROMAN HòNILNILGACHA E TIMESROMAN HòNILNIL GACHA  TIMESROMAN HòNILNIL2 TIMESROMAN HòNILNILGACHA  TIMESROMAN HòNILNILb TIMESROMAN Ô$NILNIL TIMESROMAN ÔNILNILGACHA òNILNILBGACHA òNILNILGACHA òNILNIL TIMESROMAN GACHA  TIMESROMAN GACHA  TIMESROMAN GACHA  TIMESROMAN GACHA òNILNILGACHA òNILNILJGACHA òNILNILGACHA òNILNIL TIMESROMAN GACHA  TIMESROMAN GACHA òNILNILGACHA òNILNIL4GACHA òNILNILGACHA òNILNIL TIMESROMAN GACHA  TIMESROMAN GACHA  TIMESROMAN GACHA  TIMESROMAN GACHA òNILNILGACHA òNILNIL<GACHA òNILNILGACHA òNILNIL TIMESROMAN GACHA U TIMESROMAN GACHA òNILNILGACHA òNILNILDGACHA òNILNILGACHA òNILNILGACHA òNILNIL TIMESROMAN GACHA 2 TIMESROMAN GACHA òNILNILGACHA òNILNILGACHA  TIMESROMAN GACHA  TIMESROMAN GACHA ÔNILNILGACHA ä®z¸