Le 2015-04-01 01:16, Samuel Williams a écrit :
Hi Hardy, I had over 1600 folders, writing manually doveadm mailbox
delete
would be a real pain. I guess I could script it but that's even more of
a
pain. It would be nice if there was a command to remove empty mailboxes
or
something similar.
Hi Samuel,
you could do:
find -type d -name "* 1" -exec rmdir {} \;
instead of rm -r, this will delete only really empty directories (no
files, no hidden files).
Have a good day,
--
CHUNKZ.NET - dodgy DIYer and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: FF395BD9
GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9