On Thu, Mar 19, 2009 at 00:37, kj <koffiejunkielistlur...@koffiejunkie.za.net> wrote: > Hi guys, > > This might seem like a stupid question, but I'm hoping there's a better way. > > I discovered a Maildir on my server with 4+ million mails in. The result of > a cronjob that runs every minute - this has been fixed. > > Now, I've been running the usual find . -type f -exec rm {} \; > but this is going at about 700,000 per day. Would simply doing an rm -rf on > the Maildir be quicker? Or is there a better way? > > Thanks > > --kj > One of my frinds told me that this would be much faster: rsync --delete-before -a -H -q /an_empty_dir/ /your_dest_dir
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org