home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10086 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.2 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!ncar!destroyer!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!math.fu-berlin.de!unidui!flyer!easix!umunk!udo
  2. From: udo@umunk.GUN.de (Udo Munk)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: executing down directory tree
  5. Message-ID: <9208141303@umunk.GUN.de>
  6. Date: 14 Aug 92 20:04:34 GMT
  7. References: <92Aug11.064118edt.246474@descartes.uwaterloo.ca>
  8. Organization: umunk (private)
  9. Lines: 20
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. bbobak@undergrad.math.uwaterloo.ca (Brad Bobak) writes:
  13. : In article <5550@vtserf.cc.vt.edu> you write:
  14. : >
  15. : >how to i do a certain task in the current directory and all it's sub-
  16. : >directories? i'd like to be able to do:
  17. : >   global rm *~
  18. : >to remove backup files.
  19. : >  thomas
  20. :  How bout something like:
  21. :  find . -name '*~' -exec rm {} \; 
  22.  
  23. How about rm -r ?
  24. --
  25. Udo Munk     | voice:      +49 2131 275348             | uucp: +49 2131 278869
  26. Oberstr. 21  | mail :      udo@umunk.GUN.de            |     2400/1200/300 8N1
  27. 4040 Neuss 1 | ...!{mcshh,smurf,unido}!easix!umunk!udo | MYNAME=bbsuser
  28. Fed. Rep. of | CompuServe: 100021,2515                 | login: uucp
  29. Germany      | at first connect get ~/info  and ~/files| pwd:   public
  30.