home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / fileutil / deldir10.arj / POSTER < prev    next >
Encoding:
Internet Message Format  |  1992-05-02  |  2.4 KB

  1. Path: kuhub.cc.ukans.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!usc!news.bbn.com!ulowell!cs.ulowell.edu!oneill
  2. Newsgroups: comp.binaries.ibm.pc
  3. Subject: v18i042: deldir10.zoo, Recursive directory and file removal (part 01/01)
  4. Message-ID: <1992Apr22.131602.15999@ulowell.ulowell.edu>
  5. From: cbip@cs.ulowell.edu (CBIP Moderator)
  6. Date: Wed, 22 Apr 1992 13:16:02 GMT
  7. Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
  8. Followup-To: comp.binaries.ibm.pc.d
  9. Organization: University of Massachusetts at Lowell Computer Science
  10. Keywords: utility, directory, delete
  11. Approved: oneill@cs.ulowell.edu
  12. Originator: oneill@cs.ulowell.edu
  13. Lines: 313
  14.  
  15. Checksum:  284555942  (Verify with "brik -cv")
  16. Submitted-by: skanga@prism.poly.edu (Shiraz Kanga)
  17. Posting-number: Volume 18, Issue 042
  18. Archive-name: deldir10/part01
  19.  
  20. DELDIR10.ZIP    Safe recursive directory and file removal pgm
  21.  
  22. DELDIR is a safe recursive directory & file removal program.  It
  23. enables you to remove an entire branch of the directory structure in one
  24. fell swoop by recursively deleting all of it's files and subdirectories.
  25. Since this is potentially risky operation there are three levels of
  26. safety built in, which may be specified as an argument on the command line.
  27.  
  28. Level 1 is the safest. It will prompt you before deleting any directory
  29. or file.  It is much safer than even the DOS del *.*, but slower.
  30.  
  31. Level 2 is faster. It prompts you before deleting directories but not files
  32. Quite safe and fast enough.  My personal favorite.
  33.  
  34. Level 3 is the fastest. It will delete files & directories without any
  35. prompts.  Very destructive and fast.  Good for use in batch files.
  36.  
  37. Level 1 is the default if no safety level is specified.
  38.  
  39. As a safety precaution DELDIR may not be invoked on the root directory.
  40. This program deletes a directory and its subdirectories by recursively
  41. removing its files, and then the directory itself.  The directory tree
  42. is traversed in a depth first search (DFS) order. It returns an error
  43. code of -1 if it fails, or 0 if everything is OK.
  44.  
  45. To be added: support for wildcards
  46.  
  47. Shiraz Kanga
  48. skanga@prism.poly.edu
  49.  
  50. [
  51. Checksums obtained with the 4.3BSD "sum" or System V "sum -r" command.
  52.  
  53. checksum     size (bytes)  file (between BEGIN--cut and END--cut lines)
  54.    49945   16155      part01
  55.  
  56. checksum     size (bytes)  file
  57.    29613       11702      deldir10.zoo
  58. -- Doc
  59. ]
  60.