![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| empty space in java command through unix | shweta_d | Shell Programming and Scripting | 2 | 06-27-2007 02:37 PM |
| sorting dir with respect to their nr., of files | atticus | Shell Programming and Scripting | 0 | 06-07-2006 03:05 PM |
| UNIX export command - memory space | Nomaad | UNIX for Advanced & Expert Users | 2 | 04-10-2006 05:49 PM |
| how to install gzip.tar in sco unix os | dsun5 | UNIX for Dummies Questions & Answers | 1 | 10-09-2001 05:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Amoung tar and gzip whiich unix command is more practical with respect to space manag
Hi All
Can any body help me out. Amoung tar and gzip whiich unix command is more practical with respect to space management and file restoration. Eg if I use tar or gzip which will be more helpful to reduce the space and during the file restoration. Please help me out. regards manas |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
tar is not a compression technique. Originally designed for tape archive, tar is now used for grouping files together and move them. A typical example would be grouping all files related to a package for delivery.
gzip uses a compression algorithm which can be exploited to save space. Option -9 in gzip provides maximum compression. The usual method of delivering packages is tar all files and then gzip the tar file. Hence your package will look like my_package.tar.gz We then need to apply gunzip and then tar extraction on this package at the receiving end to see the files in the package. |
|
#3
|
|||
|
|||
|
By package, I mean a set of codes (e.g., unix scripts).
|
|
#4
|
|||
|
|||
|
Hi
Thanks a lot for your valuable information. regards manas |
|||
| Google The UNIX and Linux Forums |