Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: multiple file operations using perl one-liners

by ikegami (Pope)
on May 17, 2009 at 19:47 UTC ( #764547=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    du -b */*/old.zip | perl -F\\t -lane'system zip => "-d", $F[1], "*exe*
    +"'
    
  2. or download this
    du -b */*/old.zip | perl -ne'system zip => "-d", /\t(.*)/, "*exe*"'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://764547]
help
Chatterbox?
[marto]: running late today, get to work and people are just sitting around. "can't delete file, quota exceeded"
[Corion]: marto: Oy :-/
[Corion]: Ah, it's only "quota exceeded", not "filesystem full", so it's "merely" an administrative act to up the FS quota resp. inode quota
[Corion]: I've been on databases where I couldn't drop a table or delete rows because the DB was full. Not so much fun...
[marto]: meh, the admins are lazy, I just piped null to some old large log files, problem solved

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2017-01-24 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.