zip -r output.zip file1 file2 file3
I need to put the file list "file1 file2 file3" into a text file "input_list.txt", then use the command like:
zip -r output.zip -input input_list.txt
After zip -help, the only relative information it gave is this:
-@ read names from stdin
So I tried:
'cat input_list.txt'>'zip -r -@ output.zip'
But it doesn't work.