Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Finding and sorting files in massive file directory

by MidLifeXis (Monsignor)
on Jan 21, 2013 at 13:12 UTC ( #1014441=note: print w/replies, xml ) Need Help??


in reply to Re^2: Finding and sorting files in massive file directory
in thread Finding and sorting files in massive file directory

See the xargs command. It can help with breaking apart large command lines.

find . -type f -name b\* -depth -2 | xargs $command_that_can_be_run_mu +ltiple_times

Update: added example.

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014441]
help
Chatterbox?
[LanX]: do you know the story of the triangle player?
[choroba]: Oh, the Czech one playing the German composition?
[choroba]: BTW, the elections are over. We already have the final results.
[choroba]: I should probably apply for a job somewhere abroad.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-10-21 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?