Friday, May 18, 2012

Command compress tar.gz

TAR.GZ

To create a tar.gz archive from a given folder you can use the following command
 tar -zcvf tar-archive-name.tar.gz source-folder-name
This will compress the contents of source-folder-name to a tar.gz archive named tar-archive-name.tar.gz
To extract a tar.gz compressed archive you can use the following command
tar -zxvf tar-archive-name.tar.gz
tar -czvf /u02/StageR12_64bit.tar.gz StageR12 1>list.log 0>error.log &





1>list.log = log nya
0>eror.log = log eror nya
& = berjalan di background

No comments:

Post a Comment