in reply to Logging deleted files
This is the original command;
If you change it to -find in_some_dir, some_file_x, -mtime +y, -exec /bin/rm -f {}\;
find in_some_dir, some_file_x, -mtime +y | tee /tmp/files-deleted | xa +rgs /bin/rm -rf
A list of the file deleted will be in the file named /tmp/files-deleted
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Logging deleted files
by MidLifeXis (Monsignor) on Oct 18, 2007 at 16:59 UTC | |
Re^2: Logging deleted files
by ikegami (Patriarch) on Oct 18, 2007 at 17:06 UTC | |
by ppantazis (Initiate) on Oct 18, 2007 at 19:36 UTC |