home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / gopher / 1236 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.1 KB  |  33 lines

  1. Newsgroups: alt.gopher
  2. Path: sparky!uunet!emba-news.uvm.edu!sadye!wollman
  3. From: wollman@sadye (Garrett Wollman)
  4. Subject: Re: .cache
  5. Message-ID: <1992Aug16.010232.4157@uvm.edu>
  6. Sender: news@uvm.edu
  7. Organization: University of Vermont, EMBA Computer Facility
  8. References: <1992Aug12.195021.8790@trentu.ca> <5733@m1.cs.man.ac.uk> <5734@m1.cs.man.ac.uk>
  9. Date: Sun, 16 Aug 1992 01:02:32 GMT
  10. Lines: 21
  11.  
  12. In article <5734@m1.cs.man.ac.uk> M.Whidby@mcc.ac.uk writes:
  13. >Oops - I've just seen something else that reminded me of the 'find' command;
  14. >how about:
  15. >
  16. >find . -name .cache -exec rm {} \;
  17. >
  18. >issued from the top level of the gopher directory? 
  19.  
  20. Even better, since gopher directories can have `funny' characters in
  21. them...
  22.  
  23. find -name .cache -print0 | perl -n0e unlink
  24.  
  25. ...this is likely faster, too.  (But only works with GNU find.)
  26.  
  27. -GAWollman
  28. -- 
  29.    Garrett A. Wollman  = wollman@emba.uvm.edu = UVM is welcome to my opinions
  30.                        =    uvm-gen!wollman   =
  31.    That's what being alive is all about.  No deity, no higher goal
  32.    exists, than to bring joy to another person.    - Elf Sternberg
  33.