Contents | Index | < Browse | Browse >

 COPY  File/Dir(with wildcards)  DestinationFile/Dir

 This is a recursive command which will copy files or directories
 to the destination.

 ex:  Copy dh0:myfile#?  ram:
 or:  Copy dh0:myfile    ram:MyNewFile

 If a directory is given as destination then the file(s) will be
 copied into that dir.

 Copy (also  LVACTION COPY  and  ACTION COPY ) will check if the 
 destination file exists and is more recent than the source. 

 If yes, it will warn you (as is done by Dir-Opus, Windows etc) 
 and ask you if it should proceed (with Yes/Yes to all/No etc..)

 NOTE:
 Since v3.8, after a HD crash I had which invalidated the damn 
 thing, I made the COPY command (and ACTION etc) safer. Copy
 will now read from the source file, open the destination, seek
 to the end, write the buffer (about 64K), and *close* the file
 every time, so that the disk bitmap is written if the amiga
 crashes by the time the buffer is ready for the next write.