The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
empty space in java command through unix shweta_d Shell Programming and Scripting 2 06-27-2007 05:37 PM
sorting dir with respect to their nr., of files atticus Shell Programming and Scripting 0 06-07-2006 06:05 PM
UNIX export command - memory space Nomaad UNIX for Advanced & Expert Users 2 04-10-2006 08:49 PM
how to install gzip.tar in sco unix os dsun5 UNIX for Dummies Questions & Answers 1 10-09-2001 08:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-26-2008
manas6 manas6 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 27
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
  #2 (permalink)  
Old 03-26-2008
krishmaths krishmaths is offline
Registered User
  
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 191
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 (permalink)  
Old 03-26-2008
krishmaths krishmaths is offline
Registered User
  
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 191
By package, I mean a set of codes (e.g., unix scripts).
  #4 (permalink)  
Old 03-26-2008
manas6 manas6 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 27
Hi
Thanks a lot for your valuable information.

regards
manas
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0