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

Re: Automatic zip and delete

by AnomalousMonk (Archbishop)
on Sep 02, 2021 at 19:57 UTC ( [id://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 (Scribe) 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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-24 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found