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