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.
I have found ways to tar a directory and exclude certain directories but is there a way to simply tar multiple directories (they are in the same directory) in to one .tgz file? thx.
I don't know how I missed this. I thought I had tried that and didn't get the result I was expecting. Obviously I was wrong. I should have suspected something when I didn't see a post on this when I searched this forum. Maybe the next person to search on this will appreciate that I asked the obvious question and get his question answered.
For the guy who simply answered "man tar" why bother? You feel better?
What's wrong with that answer? There are many newbies who don't know about man.
That might well be true, but I suspect 9 times out of 10 the person to proffer the advice 'man whatever' does not do so to be helpful. I get annoyed on the OPs behalf when I read responses like that, especially where it costs nothing just to be helpful and give a solution.
That might well be true, but I suspect 9 times out of 10 the person to proffer the advice 'man whatever' does not do so to be helpful. I get annoyed on the OPs behalf when I read responses like that, especially where it costs nothing just to be helpful and give a solution.
I notice that those 9 out of 10 times is when the man page either isn't good enough, doesn't include good enough "examples," or the person reading it does not fully understand what he/she is reading. Me personally, man pages are always useful.
Just for the record, I did use the man page and I searched on the internet and I searched this forum. Man pages to me are at times helpful and at times confusing. I didn't find this answer there - it was neither obvious nor obscure. I have no problem with someone telling me about the man page in the spirit of being helpful. The answer to this question could have easily been answered in the same amount of time and effort (and was) and then add that man tar would provide more info if they thought I was unaware of man.
I've used enough lists to know that there is a certain percentage of users that are arrogant and rude. Every time I post a question, I'm planning that somebody is going to take a shot at it to prove their superiority. I'm new to a lot of this stuff (that's why the newbie forum) and I'm sure I will ask more questions that seem stupid to some. I am grateful to those that did answer the question. I want to rip off a bunch of nasty comments and obscenities here but hey, what good would that do.
Now I'm going to set myself up here for someone to take another shot but I would like to show this as solved but not sure how to do that (yes, i have looked around and no, i haven't found anything)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.