Posts: 1
Threads: 1
Joined: Nov 2009
Reputation:
0
Hello all, noob here :-)
I am looking at creating a tar archive using a file list to specify the files to archive, I have looked through the man page and searched the internet and I can't find anything. Any ideas how I can do this?
Many thanks
Stephen
Posts: 955
Threads: 36
Joined: Sep 2008
Reputation:
0
I believe the "-T" option allows you can specify a file containing a list of source objects:
tar -vf /tmp/archive.tar -T /tmp/file.list
Will that do?
Alternatively, script something that works through each file and uses the "-A" option to append to the .tar file.