I have a file that contain list of files I want to archive with tar. Let\'s call it mylist.txt
mylist.txt
It contains:
file1.txt file2.txt ... file
Some versions of tar, for example, the default versions on HP-UX (I tested 11.11 and 11.31), do not include a command line option to specify a file list, so a decent work-around is to do this:
tar cvf allfiles.tar $(cat mylist.txt)