Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Using tar to archive files
- Date: Wed, 07 Mar 2007 16:20:37 +0900
- From: Dave M G <martin@??>
- Subject: Re: [tlug] Using tar to archive files
- References: <45EE48F8.9050506@example.com> <b4d277190703062221l2d4eb0d6ue662e8621fc89fa9@example.com>
- User-agent: Thunderbird 1.5.0.9 (X11/20070104)
Edmund,
Thank you for replying.Maybe something like this would work? tar -cvzf archive.tgz -C directory . --exclude directory/subdir
That puts all the files inside the archive underneath a directory named ".".
Not sure I understood the bit about empty directories, so I can't help you with that, I'm afraid...
It looks to me like the default behavior is for empty directories to not be included in the archive. When I create an archive then view it with the Archive Manager application, they don't seem to be there.
-- Dave M G Ubuntu 6.10 Edgy Eft Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2
- Follow-Ups:
- Re: [tlug] Using tar to archive files
- From: Sigurd Urdahl
- Re: [tlug] Using tar to archive files
- From: Curt Sampson
- References:
- [tlug] Using tar to archive files
- From: Dave M G
- Re: [tlug] Using tar to archive files
- From: Edmund Edgar
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Using tar to archive files
- Next by Date: Re: [tlug] Re: About Japanese input systems
- Previous by thread: Re: [tlug] Using tar to archive files
- Next by thread: Re: [tlug] Using tar to archive files
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links