home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10007 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.4 KB  |  49 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zeos!kgermann
  3. From: kgermann@zeos.com (Ken Germann)
  4. Subject: Re: executing down directory tree
  5. Organization: Zeos International, Ltd. 
  6. Date: Wed, 12 Aug 1992 12:10:39 GMT
  7. Message-ID: <1992Aug12.121039.14799@zeos.com>
  8. References: <_a4m!xr.bosak@netcom.com>
  9. Lines: 38
  10.  
  11. In article <_a4m!xr.bosak@netcom.com> bosak@netcom.com (Jon Bosak) writes:
  12. >
  13. >Ken Germann writes:
  14. >
  15. >KG> In article <5550@vtserf.cc.vt.edu> tdunbar@vttcf.cc.vt.edu (Thomas
  16. >KG> Dunbar) writes:
  17. >KG> 
  18. >KG> >
  19. >KG> >how to i do a certain task in the current directory and all it's sub-
  20. >KG> >directories? i'd like to be able to do:
  21. >KG> >   global rm *~
  22. >KG> >to remove backup files.
  23. >KG> >  thomas
  24. >KG> 
  25. >KG> rm -r <sub-dir>
  26.  
  27. I missed the part the ~ tilde.  
  28.  
  29. rm -r <subdir>/*~ should remove all the file in the subdirectory and below
  30. that have a tilde in them .
  31.  
  32.  
  33. >
  34. >I do hope that this was just the result of a hasty reading on Mr.
  35. >Germann's part and not some kind of cruel joke.  Totally destroying
  36. >his subdirectory tree was clearly not what the original poster had in
  37. >mind.
  38. >
  39. >+----------------------------------------------------------------------+
  40. > Jon Bosak  Sunnyvale, California : bosak@netcom.com  jbosak.novell.com
  41. >+----------------------------------------------------------------------+
  42.  
  43.  
  44. -- 
  45.       Moderator of biz.zeos.announce and biz.zeos.general.
  46.     
  47.                info@zeos.com 
  48. Ken Germann        support@zeos.com     Zeos International, Ltd.
  49.