Brett Parker <iDunno@???> (Di 12 Dez 2006 14:52:13 CET):
> >
> > Almost, better is:
> >
> > find . -type f -mtime +60 | xargs rm
>
> Better still:
> find . -type f -mtime +60 -print0 | xargs -0 rm
>
> Just on the offchance that you've got some strange filenames.
Of course. But here (as long as we deal with IPs it shouldn't happen).
Heiko
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -