Hello,
I have a folder with a few zip files whose contents I want to refresh with a new version of a certain file. The new version of the file for the update is already present in the same folder as the zips, all that's left is to find how to perform a "
zip -fv" to all of the zip files.
And.... Aaaaaargh, i'm embarrassed, I don't manage to make it T_T
May I humbly ask for your help, please ?
Here are my attempts :
zip -fv *
zip diagnostic: new.txt up to date
(oops, no zip file has been processed, only the file for the update has been update-checked ?!?)
zip -fv *.zip
(and here, nothing happened, at all, despite the -v )
find . -type f -exec zip -fv
find: missing argument to `-exec'
(I was even going over the top with a "search for all files whatever" to make SURE the Zip files would be taken in the lot, and to hell with "only taking the Zip format files", that was OK since it was a folder only populated of zips and of one file to update with... But no, apparently, not good. And no more success with "zip -fv" between double quotes)
zip -fv '*.zip'
zip warning: *.zip not found or empty
(no harm in trying, right -_-)
zip * -fv
(no surprise : zip diagnostic: new.txt up to date, I'd have almost been offended if it had worked)
find . -type f -exec zip -fv \;
zip error: Invalid command arguments (cannot write zip file to terminal)
zip error: Invalid command arguments (cannot write zip file to terminal)
zip error: Invalid command arguments (cannot write zip file to terminal)
zip error: Invalid command arguments (cannot write zip file to terminal)
zip error: Invalid command arguments (cannot write zip file to terminal)
zip error: Invalid command arguments (cannot write zip file to terminal)
(I took inspiration from that page for the final \;, to almost promising results, it seems each file was attempted to, and failed for some reason)
And here I am, helpless, and slightly humiliated too
Man pages for Zip
here, and a simpler version
there.
Please, would you know how to do ?

Thank you VERY MUCH if you can help !