Rename target files while using zip command Rename target files while using zip command unix unix

Rename target files while using zip command


Command zipnote:

echo -e "@ myOldFileName.txt\n@=myNewFileName.txt" | zipnote -w myzip.zip


Providing customized name to the outcoming xyz.zip folder is possible.but renaming the input file should be done before it takes input for processing ZIP action.

Following are the possible ways that will create archivefile1.zip file

zip -r archivefile1 .zip -r archivefile1 .* *zip -r archivefile1 .*