home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8153 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!inetg1!news.oryx.com!huey!xcpbhf
  2. From: xcpbhf@huey (boyce h fullmer)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: find bug
  5. Message-ID: <Brwnxy.My2@oryx.com>
  6. Date: 24 Jul 92 18:13:10 GMT
  7. References: <1992Jul22.120003.15122@dickens.com>
  8. Sender: usenet@oryx.com (USENET News System)
  9. Distribution: usa
  10. Organization: Oryx Energy, Dallas, Texas.
  11. Lines: 27
  12. X-Newsreader: Tin 1.1 PL4
  13.  
  14. fred@dickens.com (Fred Stearns) writes:
  15. : In article <1992Jul21.181917.749@ccd.harris.com> tvd@ccd.harris.com (Tom Denham) writes:
  16. : >From tvd Tue Jul 21 09:25:04 1992
  17. : >Subject: find
  18. : >To: nam (Noahal A. Mundt)
  19. : >Date: Tue, 21 Jul 92 9:25:04 EDT
  20. : >X-Mailer: ELM [version 2.3 PL11]
  21. : >
  22. : >Noahal, I checked this out and I don't think it's true.
  23. : >
  24. : >>I recently realized that /etc/skulker on my machines was not clearing out
  25. : >>/tmp and /etc.tmp as it should.  A bit of playing around and I discovered
  26. : >>that the problem is with find.  The following command, for instance:
  27. : >
  28. : >>  find /tmp -mtime +1 -type f -exec /bin/rm {} \;
  29. : >
  30. : Check out the command xargs.  You can do the following:
  31. : find /tmp -mtime +1 -type f -print | xargs rm
  32. : It is much more efficient as rm is fork/exec'd once for a
  33. : bunch of files.  As opposed to once for each file.
  34.  
  35. You might also want to check that your .cshrc does not echo any text.  This was the
  36. cause of a similar problem at our site.
  37.