Compress a folder in Godaddy SSH

In order to “zip” a directory, the correct command would be


tar -zcvf archive.tar.gz directory/

 

Advertisements