in reply to Deleting old files from directory
Just need to know if this is efficient or if there is a better way of doing this.
It is more efficient to stat only once, ie
stat, -Xgrep {-f $_ and 10 < -M _ }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleting old files from directory
by Anonymous Monk on Sep 27, 2011 at 20:03 UTC | |
by Anonymous Monk on Sep 27, 2011 at 20:24 UTC |