Contents | < Browse | Browse >
RECOPY [-R] [directory|file_description]

* RECOPY copies a file to the same directory with a slight different
  name (new file), then deletes the old file and renames the
  new file like the old file was called. After that the new file
  is the same as the old file was (date and comment are copied too).
  You might say: What is the use of that ? - Answer: You can process
  lots of files with a LoadSeg patch or a patch at the device.
  Depending on the patch it sometimes would be a good idea to run a
  diskoptimizer after RECOPYing.

* In other words: Put some powerpacked textfiles in RAM: then run the
  PowerPackerPatcher (from Nico Francois), then do "RECOPY RAM:".
  After that these textfiles should be unpacked.
  Similarly you can crunch whole disks (in DF0:) running a stacker-
  like programm on DF0: then doing "RECOPY -R DF0:". This is tested
  with EPU and might also work with XFH (from the XPK-Package).

* The  option  -R (recursive) does the same as in  LIST .
* If no directory is specified, the current directory is taken.
* If you want to give a file_description make sure that it contains
  at least one  wild card . For specifying a single file put a "|"
  (vertical line) behind it.

eg.     recopy -r
        recopy ram:~*.info      {do not RECOPY .info-files}
        recopy ram:bigdoc|      {RECOPY only the file bigdoc}