[Dovecot] deleting maildir files

Kyle Wheeler kyle-dovecot at memoryhole.net
Wed Jul 18 19:25:23 EEST 2007


On Tuesday, July 17 at 03:45 PM, quoth John Peacock:
> This:
>
> 	$ ls -f ./tmp ./cur | xargs rm
>
> is really quite efficient, and doesn't fall prey to commandline globbing 
> limits...

Another one I use often is:

     find ./tmp ./cur -type f -exec rm {} \;

~Kyle
-- 
The real problem is not whether machines think, but whether men do.
                                                       -- B. F. Skinner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070718/039ae09b/attachment.bin 


More information about the dovecot mailing list