Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Automatic zip and delete

by AnomalousMonk (Bishop)
on Sep 02, 2021 at 19:57 UTC ( #11136381=note: print w/replies, xml ) Need Help??


in reply to Automatic zip and delete

... a little utility ...

In my experience, you can do this with most file-zip utilities, e.g., winzip and 7-zip. It's called "moving" the file from source to destination. I haven't checked (your job), but I think pretty much all such utilities can do something like this.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: Automatic zip and delete
by soonix (Canon) on Sep 03, 2021 at 12:55 UTC
    ISTR that 7-zip explicitly refrained from implementing a "move" command because of the great potential of losing files by corrupting the archive after having "moved" the file. However, I don't find the relevant discussion anymore :-(
Re^2: Automatic zip and delete
by justin423 (Acolyte) on Sep 03, 2021 at 15:05 UTC
    I posted this because I was sure that this type of utility had to have been written before, since this functionality would be extremely useful and I was surprised to find out that it wasn't included in 7-zip.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-12-01 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (13 votes). Check out past polls.

    Notices?