[Dovecot] deleting maildir files

John Peacock jpeacock at rowman.com
Tue Jul 17 22:45:37 EEST 2007


Timo Sirainen wrote:
> Yea. Or I mean in both cases you can just delete the files inside the
> directory, but I'm pretty sure rm tmp/* will give you an error. :)

This:

	$ ls -f ./tmp ./cur | xargs rm

is really quite efficient, and doesn't fall prey to commandline globbing 
limits...


John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748


More information about the dovecot mailing list