LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2006, 07:10 AM   #16
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15

wht does each switch defintion like the x , v,f, etc
 
Old 08-07-2006, 07:11 AM   #17
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Adamf4i - open a console and type in
Code:
man tar
- that will explain all the switches very clearly.
 
Old 08-07-2006, 07:50 AM   #18
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
thx ,,,,,,,,,,,
 
Old 08-07-2006, 08:01 AM   #19
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
You can think of tar kind of like zip on Windows.
A small correction: you couldn't think of tar like zip for Windows, since Zip is a compression program (exists for Linux too) whereas tar is an archiving program. The most visible difference is that tar does not compress, it just "gathers multiple files inside one file". Zip, on the other hand, "gathers multiple files inside one file and compresses them as you wish". tar with gzip, bzip2 or some other compressing program is something like zip, but not alone.

tar is often used to keep the permissions of files archived, and if the compression program used can't deal with multiple files (well most of them do I guess but I recall meeting one that didn't?) or there is any other reason to get just one-file archive, for simpleness of moving files (for example), it's good. tar files just tend to be big if there's a lot of content in the tar archive, so that's why people use compression with it.

Now that I said that, there is this cpio program too, which works a bit like tar, enabling you to copy-in or copy-out data from or to a cpio archive. One difference is that tar refuses to archive special files but cpio doesn't.
 
Old 08-07-2006, 07:36 PM   #20
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
thx for all the help everyone
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
how to start and wht r d benifits harmandeep kaur Linux - Newbie 3 07-01-2005 06:06 PM
wht is mean by cups? ss100 Linux - Software 3 01-19-2005 06:04 AM
wht do these codes mean? jackandking Programming 10 12-25-2004 11:14 AM
cannot figure out how to exstract and compile a .tar.bz2 file. ccflashback Linux - Newbie 1 11-03-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration