Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
-d, --diff, --compare
find difference between archive and file system.
Each option listed is an alternate way of saying the same thing. "-d" is equivalent to "--diff" and it's equivalent to "--compare". All of them mean the same thing, and you only need one of them on the command line.
Quote:
-c, --directory=DIR
Again, both formats say the same thing, but it's slightly different from above. This option requires more information from the user (as evidenced by the "=DIR" portion). You can use either form "-c" or "--directory" but both must have a directory option. For "-c" the command line would look something like "tar -c directory_name". For "--directory" it would look something like "tar --directory=directory_name". Slightly different formatting, but again, the same meaning. Only one needs to be present on the command line.
EDIT: Beaten to the punch.... again... by Tink
Last edited by Dark_Helmet; 09-29-2005 at 01:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.