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
Post a Comment