tar: getting files from a file.
I'm trying to create a tar archive. The input files are listed in one textfile.
How can I get tar to use this inputfile? Redirection like "tar -cvf t.tar < inputfile" doesn't work. I tried "tar -cvf t.tar `inputfile`" (tar -cvf t.tar `find directory -mtime -1 -f` did work fine)
I was looking through the man pages and found some option -T which made me think that it could do the job but can't figure out how to get it actually work.
I tried things like "tar -cvf t.tar -T inputfile" and "tar -cv -T inputfile -f t.tar" etc etc but none worked as I expected.
Can anyone point me in the right direction?
Did I completely misunderstand what the -T stands for?