Download GNU Tar:
http://www.gnu.org/software/tar/
ftp://mirrors.kernel.org/gnu/tar/
We have many tools to compress files and folders in Linux.
1. Tar
Tar is sued to compress multiple files/folders into new file_name.tar.
It is used to create backup and archives.
2. Gzip
Gzip compress a file and replaces filename with filename.gz gunzip is used to extract filename.gz
3. Zip
Zip –r file_name , it will create new file_name.zip
Eg:
Compress
tar -zcvf file_name_newname.tarz file_name
Extract
tar -xvzf file_name_name.tarz
No comments:
Post a Comment