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

0 Comments

Copyright © 2009 Note my web All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.