All of lore.kernel.org
 help / color / mirror / Atom feed
* Fastest way to "find / -mtime +7".....
@ 2005-07-19 17:55 Ed Walker
  2005-07-19 18:48 ` Jonathan Briggs
  0 siblings, 1 reply; 7+ messages in thread
From: Ed Walker @ 2005-07-19 17:55 UTC (permalink / raw)
  To: reiserfs-list

I've got a lot of small maildir files stored on a reiser-fs  
partition.  Currently we expire out the old stuff using
     find /mail -mtime +7 -type f -print0 | xargs -0 rm -rf

this is pretty slow on reiser, at least compared with ext2/3, and I  
understand that it may be because the find command returns the names  
in a non-optimal order (ie readdir order?).

Is there something we can do to speed it up?  Any suggestions?

Thanks-

Ed

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-20 20:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 17:55 Fastest way to "find / -mtime +7" Ed Walker
2005-07-19 18:48 ` Jonathan Briggs
2005-07-19 20:09   ` Ragnar Kjørstad
2005-07-19 22:00     ` Jonathan Briggs
2005-07-20 12:33       ` Alexander G. M. Smith
2005-07-20 16:26       ` Andreas Dilger
2005-07-20 20:44         ` Ragnar Kjørstad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.