Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uunet!mcsun!hp4nl!cwi.nl!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.unix.admin Subject: Re: Help - we lost all our files! Message-ID: <3792@charon.cwi.nl> Date: 29 Jun 91 23:47:46 GMT References: <1347@escob1.UUCP> <8928@awdprime.UUCP> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 13 In article <8928@awdprime.UUCP> sanders@sanders.austin.ibm.com (Tony Sanders) writes: > dickson@escob1.UUCP (Dave Dickson) writes: > > Help! We have been running the crontab line shown below > > 45 3 * * * find /tmp/* /usr/tmp/* -mtime +1 -print | xargs rm -r > I suggest using "find -xdev" or the equiv on your system, Will not help. Dan Bernstein gives an example why this would fail. An easier example that could be the result of a single typo would be: touch '/tmp/a .' due to the way xargs handles its input it is not suitable to process the output from find. -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl