Facebook Google+ Twitter Compress and Extract whole directory in Linux or Unix with TAR command Compress : #tar -zcvf savelocation/fileneme.tar.gz directory-name-you-want-to-compress #tar -zcvf /tmp/compressedfile.tar.gz /data/folder Above command will create an archive file named compressedfile.tar.gz under…