Tar a file/folder

Tar a file or folder on the command line

Code

tar -zcvf filename.tar.gz foldername