The folders can be compressed and decompress by the following command. The folder will get compress when the below command is given the folder name should be given correctly. the folder size will get compressed when the compression made. the decompression is opposite to the compression method.
Syntax:
tar -czvf foldername.tar.gz foldername
Example
tar -czvf wp-admin.tar.gz wp-admin
Syntax
tar -xvf wp-admin.tar.gz