Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Automatic zip and delete

by tybalt89 (Prior)
on Sep 03, 2021 at 17:41 UTC ( #11136426=note: print w/replies, xml ) Need Help??


in reply to Automatic zip and delete

Totally untested and very possibly very dangerous :)

find . -type f -name '*V00' | perl -nle '/(.*)V00\z/ and system "zip $ +1.zip $_" && rm $_'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136426]
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 2022-01-27 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?