Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: monitor rm command ?

by vitoco (Friar)
on Sep 02, 2009 at 13:23 UTC ( #792915=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: monitor rm command ?
Select or Download Code
Re^2: monitor rm command ?
by cdarke (Prior) on Sep 02, 2009 at 15:09 UTC
      Or something a little more cross-platform like SGI::FAM, though it might need a little TLC to make properly.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://792915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-10-21 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls