LinuxQuestions.org
Register a domain and help support LQ
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, 08: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, 08:11 AM   #17
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Adamf4i - open a console and type in
Code:
man tar
- that will explain all the switches very clearly.
 
Old 08-07-2006, 08: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, 09: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, 08: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:48 AM
how to start and wht r d benifits harmandeep kaur Linux - Newbie 3 07-01-2005 07:06 PM
wht is mean by cups? ss100 Linux - Software 3 01-19-2005 07:04 AM
wht do these codes mean? jackandking Programming 10 12-25-2004 12:14 PM
cannot figure out how to exstract and compile a .tar.bz2 file. ccflashback Linux - Newbie 1 11-03-2003 02:52 PM


All times are GMT -5. The time now is 09:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration