Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 cooling their heels in the Monastery: (6)
As of 2014-12-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls