Quote:
Originally Posted by sspisharody
I have a highly split up directory tree structure, with more than 25K folders to delete daily, and the find command in itself seems like it takes forever to run.
|
Does this imply you are traversing 30 x 25k (plus) every day ?. If so I'm not surprised it takes a while.
I'd be inclined to look at redesigning things, and maybe have each day under a different directory - that way you could just prune the oldest (after 30 days) directory. No search necessary.