* Cameron Simpson on Saturday, January 02, 2010 at 10:34:52 +1100 > On 25Dec2009 16:24, Christian Ebert <blacktr...@gmx.net> wrote: >| * Christian Ebert on Friday, December 25, 2009 at 16:22:34 +0000 >|> Ah, you just want to remove empty mailboxes, then perhaps just >|> >|> save_empty=no >|> >|> is enough? >|> >|> Otherwise something like: >|> >|> # delete all empty file inside $mailhier >|> find $mailhier -type f -size 0 -exec rm -f {} \; >| >| That's on the command line, in a script you have to escape {}: > > No. You do not. { and } are not punctuation. (Versus "(" for example, > which is.)
Right. > Have you even tested this assertion? I could swear I did, which is why I did it like this in my shell scripts ... but I take everything back ... How about: find $mailhier -type f -size 0 -delete ;-) c -- \black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_ Ein deutscher Western/A German Western --->> http://www.blacktrash.org/underdogma/ccc.php