compress directory to tar

Compress a file or directory to tar, where example.tar.gz is what the result will be named and Sitesexample is the location of the item you want to compress.

tar -czvf file.tar.gz Sitesexample