use tar.gz file code example
Example 1: unzip a tar.gz file in linux
tar -xvzf community_images.tar.gz
Example 2: tar.gz files
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
tar -xvzf community_images.tar.gz
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file