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: [EMAIL PROTECTED] P.O. Box 2022 finger: [EMAIL PROTECTED] (GPG/PGP) Woburn, MA 01888-0022 USA
pgpJtHLA5esOl.pgp
Description: PGP signature