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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -