Help - we lost all our files!
Dik T. Winter
dik at cwi.nl
Sun Jun 30 09:47:46 AEST 1991
In article <8928 at awdprime.UUCP> sanders at sanders.austin.ibm.com (Tony Sanders) writes:
> dickson at 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 at cwi.nl
More information about the Comp.unix.admin
mailing list