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 (Chancellor) 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.