home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 164.lha / ARexx / Example_ARexx / zooall.doc < prev    next >
Encoding:
Text File  |  1988-04-28  |  1.8 KB  |  48 lines

  1.   
  2.    zooAll.rexx -  an ARexx program that will ZOO all files within a
  3.                   directory, including subdirectories. The resultant
  4.           archive is GIVEN the SAME NAME as its source directory.
  5.  
  6.     It will generate a standard AmigaDOS script file, where necessary,
  7. that will be included in the .ZOO file. This script file, when executed,
  8. recreates the original file structure, creating any necessary
  9. subdirectories.
  10.     zooall.rexx makes allowances for similar filenames by appending the
  11. files directory name to the filename itself. This creates unique filenames
  12. for files which are to be added to the archive. There may be rare
  13. occurences, depending upon the form the subdirectories take, which will
  14. cause problems.
  15.  
  16.     zooall.rexx looks for 'zoo', and 'rename' in the 'c' directory
  17.                   
  18.     USAGE: rx zooall device:[directory] [device:[directory]] [d]
  19.                          arg1               arg2           arg3*
  20.         where arg1 is the source, 
  21.                and its device the default destination
  22.               arg2 is an optional destination
  23.                arg3 if 'd', deletes the source directory
  24.  
  25.     *in order for arg3 to be handled properly a destination (arg2) 
  26.         must be specified. (arg1 'device:' is acceptable)
  27.  
  28.  
  29.  
  30.   What zooall.rexx DOES NOT DO:
  31.  
  32.     - verify correct syntax
  33.     - verify hard existence of source or destination
  34.     - verify sufficient space for resultant .zoo file
  35.     - restore source to its original form (you must 'cd' to the 
  36.              appropriate destination and 'execute' the 'exec.me' file)
  37.  
  38.  
  39.     zooAll.rexx is based on 'arcall.rexx' By Larry Phillips. 
  40.     zooAll.rexx  By Dave Wilson, CIS 72060,327
  41.  
  42.    'zooall.rexx' is my first attempt at ARexx programming, and therefore,
  43. no doubt, not the most efficient code. If you see any refinements which
  44. might be made please let me know. This is of course PD, no copyright
  45. applies, and you are free to use it any manner you choose.
  46.  
  47.         *        *        *
  48.