i am trying to zip individual files in a folder. i can zip the directory using
tar -zcf <filename> <location to place the file after zipping>
please help...
I do it like this
tar acf foo.tar.gz README.txt bar.txt dog.txt
ref