💻 Software
How to overwrite existing zip file instead of updating it in Info-Zip?
Fresh5 days ago
Mar 15, 202647819 viewsConfidence Score1%
1%
Problem
To obtain a fresh zip file just like as tar does, do I have to perform before executing ?
Error Output
$ mkdir foo; touch foo/bar $ zip -r foo.zip foo adding: foo/ (stored 0%) adding: foo/bar (stored 0%) $ rm foo/bar; touch foo/baz $ zip -r foo.zip foo adding: foo/ (stored 0%) adding: foo/baz (stored 0%) $ unzip -l foo.zip Archive: foo.zip Length Date Time Name --------- -----…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to overwrite existing zip file instead of updating it in Info-Zip?
Low Risk
Use the -FS option to "file sync" This will add any new files in the folder to the zip, and delete any files from the zip that aren't in the folder.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix