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

Re: Check Directories for Files

by leocharre (Priest)
on Nov 24, 2009 at 20:40 UTC ( #809201=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for dir in $(find /rootdir/101/ -type d -name "B??"); 
    do find $dir -type f -exec rm '{}' \; ;
    ...
    
    # or to move elsewhere
    # do find $dir -type f -exec mv '{}' /tmp/foundstuff/ \; ;
    
  2. or download this
    $ find /rootdir/101/ -type f -exec mv '{}' /tmp/foundstuff/ \;
    

Log In?
Username:
Password:

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

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

    For retirement, I am banking on:










    Results (112 votes), past polls