in reply to monitor rm command ?
Guessing that you don't know which files exactly are, because you are using wildcards or -rf options, you can take a snapshot of the directory tree before the rm, starting from the working directory, and compare it with another one taken when deletion is complete.
You can use standard commands from the shell like find and sort, or, of course, use perl.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: monitor rm command ?
by cdarke (Prior) on Sep 02, 2009 at 15:09 UTC | |
by james2vegas (Chaplain) on Sep 03, 2009 at 03:07 UTC |
In Section
Seekers of Perl Wisdom