what I am trying to do is to compress a list of files using tar.
So what I am doing is
sudo tar -pcf filename.tgz `cat filename.list`
so if there is a directory on the list like this
/home/vmuser/.gconf
tar compresses everything in that folder. However what I want is to just add exactly whatever is on the list.
tar pczf filename.tgz
) which compresses the resulting tar file usinggzip
.