Tar

Created: 30 May 2016

Author:  Chen Xie

compression and decompression Tools

tar.gz

decompression

# here with new folder
tar -zxvf *.tar.gz

# target folder
tar -zxf *.tar.gz -C /path/to/parent

compression

tar -zcf *.tar.gz /path/to/folder

tar.bz2

decompression

tar -jxvf *.tar.bz2
# linux