On Tue, 25 May 2004, John Hall spake:
> find /home/Maildir/.Spam/{new,cur} -type f -mtime +7 | xargs rm
>
> is more efficient. The find example will exec rm for each file, whereas
> xargs will call rm with as many arguments as it can.
find /home/Maildir/.Spam/{new,cur} -type f -mtime +7 -print0 | xargs -0r rm
is more paranoid. ;)
--
`If you believe in strong AI, then death is no longer a mystery,
but merely a lack of adequate backups.' --- Steven McDougall
