Tanveer Singh wrote:
> Currently I do this
> mv somedir somedir.old
> find somedir.old -name "*" -exec rm -rf {} \;
> I was hoping for some "quick delete" kind of stuff.
What filesystem is this on ? if its ext3 you can change your drive cache
policy, disable index's, disable time updates etc ( there must be a few
dozen tweaks that most distro's put in with new ext3's that could slow
you down a bit )..
Also, you might want to think about what you doing here... the find
<somedir> with hit a directory and never return till everything under
there is done. so perhaps start with a director really deep and work
your way up, if you dont want to hit i/o on the machine too hard
--
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/