|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: monitor rm command ?by vitoco (Pilgrim) |
| on Sep 02, 2009 at 13:23 UTC ( #792915=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||