Tar a file/folder

Bash / Linux Commands

Tar a file or folder on the command line

Tar a file/folder

Code

tar -zcvf filename.tar.gz foldername