crontab Daemon-from-Hell

John B. Milton jbm at uncle.UUCP
Mon Jun 5 15:49:03 AEST 1989


In article <14271 at watdragon.waterloo.edu> hjespersen at trillium.waterloo.edu () writes:
>
> >>>	cd /usr/spool/uucppublic
> >>>	find . -type f -mtime +30 -exec rm -f {} \;
>
>Ok, maybe I haven't been following this discussion closely enough
>but what is wrong with
>
>	find /usr/spool/uucppublic -type f -mtime +30 -exec rm -f {} \;

Nothing, except I would make it:

find /usr/spool/uucppublic -type f -mtime +30 -print | xargs rm -f




John
-- 
John Bly Milton IV, jbm at uncle.UUCP, n8emr!uncle!jbm at osu-cis.cis.ohio-state.edu
(614) h:294-4823, w:764-2933; N8KSN, AMPR: 44.70.0.52; Don't FLAME, inform!



More information about the Unix-pc.general mailing list