home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / prune102.zip / SELPRUNE.DOC next >
Text File  |  1994-09-07  |  3KB  |  89 lines

  1. This utility will "PRUNE" the leaves of the tree and optionally remove the
  2. limb if desired to do so.
  3.  
  4. This program will work on either na OS/2 platform or a DOS platform.
  5.  
  6. Usage
  7. =====
  8.  
  9.   SELPRUNE [-flags] <filename>
  10.  
  11.      -D  Remove the directories
  12.      -H  Remove hidden files
  13.      -L  List the files and directories that are being deleted
  14.      -Nx Remove the files that are older than x days
  15.      -O  Override any confirmation questions
  16.      -R  Recursively do subdirectories
  17.      -S  Remove system files
  18.      -T  Do a test of what will be removed
  19.  
  20.      filename can be any of the wild characters.
  21.  
  22. EXAMPLES
  23. ========
  24.  
  25. If you use brief (editor from Borland Internationals) and ask for the state
  26. of the editor to be kept in the current directory, then the file generated
  27. will be created in multitudes of times.  To alleviate the usage of disk space
  28. and trying to remeber all of the directories that brief was used in, it is
  29. now possible for you to ask selprune to find all occurences of the state file
  30. and remove the file for you.
  31.  
  32.   At the root directory type in:
  33.  
  34.      SELPRUNE -lr state.rst
  35.  
  36.   This will request selprune to "PRUNE" all occurrences from the tree.
  37.  
  38.  
  39.  
  40.  
  41. If you are copying files from on machine to another, and the data contained
  42. in the files are good only for a certain time frame, then you now can ask
  43. selprune to remove all files that are older than a certain date or number
  44. of days ago.
  45.  
  46.   At the directory where the files are kept in, type in:
  47.  
  48.      SELPRUNE -ln45 ticket*.dat
  49.  
  50.   This will go through and remove all files that fit the requirement of 
  51.   the file name and the number of days ago.
  52.  
  53.  
  54.  
  55.  
  56. If you loaded the latest and greatest spreadsheet onto your system, and saved
  57. the older version, but now are ready to commit to the new version solely, now
  58. you can ask selprune to remove all the files and remove the tree structure
  59. from the disk.
  60.  
  61.   At the directory where the old spreadsheet is in, type in:
  62.  
  63.      SELPRUNE -l -d -h -r *.*
  64.  
  65.   This will remove all the files, including any hidden files, from the tree
  66.   and remove the limbs as they are emptied.
  67.  
  68.  
  69. Hope this helps with the cleaning and maintaining of disks.
  70.  
  71.  
  72.  
  73.  
  74. Use this software at your own risk!!!  This is a very powerful file remover.
  75. If used from the wrong directory, it could conceivebly remove all files on
  76. the disk.  If unsure of what the program will remove, then use the test
  77. option to list out the files and directories that will be deleted from the
  78. disk.
  79.  
  80. If you find this utility to be helpful, then send a donation to:
  81.  
  82.   John Ogden
  83.   2539 East Dahlia
  84.   Phoenix, AZ 85032
  85.  
  86. Any comments can be sent to:
  87.  
  88.   JOGDEN@az.intel.com
  89.