difference between tar and ....?
hi friendz,
can anyone tell me wat is the difference between tar and gz? y is tar used for? n after creating tar file, is it a compulsion to gzip it? does tar compress a file? n in linux most of the files rather applications are with ".tar.gz" extension....i am totally confused between tar and gz ......n can i ftp a tar file? plz help me...... bye.... |
Go here for information on Tar and Gzip.
In a nutshell: *tar.gz is like *.zip on windows. Yes you can download tar files via ftp. Also: *.tar.bz2 is pretty much the same as *tar.gz files. vxc |
Well, the tar file is an archive that contains all the files you packed into it. It does not compress anything. It just stores the files in one "container"-file. What you do with gzip is compress this container-file. That's why it is called .tar.gz. It is a tar file (.tar) that is compressed with gzip (.gz) or bzip2 (.bz2).
It's as simple as putting a few things (the files) into a box (the tar archive) and putting the hole box into a shrinker (gzip). |
ok...thanx...but can i directly gzip a file or a folder without cretating a tar file?
|
You can compress files using the gzip command without tarring.
|
Although taring multiple files together often seems to reduce the file size when gzipped.
--Ian |
i don't think you can ftp a folder, but if you tar it, you can
|
All times are GMT -5. The time now is 03:55 AM. |