0
making tar files from text file
Posted by sanjay
on
5:55 PM
how to make a tar file from a text file containing list of files
text file contents
a/b/myfile.txt
a/c
This includes on myfile.txt from a/b and everything from a/c Yet to find out how to
exclude certain files
cd to parent folder of a
tar cv -T /path/to/listOfFiles.txt -f /path/to/tarfile.tar
then gzip tarfile.tar
text file contents
a/b/myfile.txt
a/c
This includes on myfile.txt from a/b and everything from a/c Yet to find out how to
exclude certain files
cd to parent folder of a
tar cv -T /path/to/listOfFiles.txt -f /path/to/tarfile.tar
then gzip tarfile.tar