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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -