linux - how to rename file when zipping it? -


i'm planning pack files zip file on ubuntu os. example, have files a, b , c. want put them new.zip file. these files have renamed a1, b1 , c1 in zip file. suggestions. thanks.

you can use zipnote. use command :

echo -e "@ myoldfilename.txt\n@=mynewfilename.txt" | zipnote -w myzip.zip 

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -