I'm using the zip
command to zip files, such as zip -r - file1 file2 file3
We want to rename these files however, before they are zipped.
Does anyone know if there's a way to pipe this or somehow rename the files that are being added to the zip?
Command zipnote
:
echo -e "@ myOldFileName.txt\n@=myNewFileName.txt" | zipnote -w myzip.zip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With