[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Good mail management techniques?



On 2001-09-07 19:13:13, Allan M. Wind wrote:
> On 2001-09-08 04:15:49, Angus D Madden wrote:
> 
> > but the bash script will choke if your maildirs are big.
> 
> > echo copying messages ...
> > mv $MAILDIR/cur/* $BOX/cur/
> 
> Try instead: find $MAILDIR/cur -type f print0 | xargs -0i mv '{}' $BOX/cur

There should of course have been '-print0' and you don't really need
the -type f as you would have files in the cur directory.


/Allan 
-- 
Allan M. Wind			email: allanwind@mediaone.net
P.O. Box 2022			finger: awind@digit-safe.dyndns.org (GPG/PGP)
Woburn, MA 01888-0022
USA

Attachment: pgpDrZFuzLHcT.pgp
Description: PGP signature


Reply to: