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] Tar excluding some folders
- Date: Sat, 14 Feb 2004 19:49:07 +0900 (JST)
- From: Charles Muller <acmuller@example.com>
- Subject: Re: [tlug] Tar excluding some folders
- References: <20040213154042.59927.qmail@example.com><87znbmyyv9.fsf@example.com>
susumu> susumu> susumu> It must be in relative path in the archive. stephen> This isn't quite true; it should be relative to whatever tar considers stephen> the current directory. That's usually `pwd`, but can be changed with stephen> the -C flag. This detail is not relevant to Chuck's case, since he's stephen> put the tarball in the current directory and doesn't use -C. tar cvzfP /mnt/win_d/chuck-exclude.tar.gz -X /home/chuck/chuck-exclude.txt /home/chuck Unless I'm missing something, I thought that I was putting the tarball in /mnt/win_d. (?) Anyway, reading Stephen's comments, I tried this tar cvzfP /mnt/win_d/chuck-exclude.tar.gz -C /home/chuck/ -X chuck-exclude.txt /home/chuck which also runs, but still no elimination of unwanted directories. Anyway, I can do it the other way around, i.e., running off an "inclusions" file rather than exclusions file, and it seems like it will basically take the same type of effort to maintain one or the other. Nonetheless, it would be interesting to learn if it is indeed possible. Chuck --------------------------- Charles Muller Toyo Gakuen University Faculty of Humanities 1660 Hiregasaki, Nagareyama-shi Chiba 270-0161 JAPAN Web Site: Resources for East Asian Language and Thought http://www.acmuller.net <acmuller@example.com>
- Follow-Ups:
- Re: [tlug] Tar excluding some folders
- From: Edward Wright
- References:
- Re: [tlug] Tar excluding some folders
- From: Susumu ISHIZUKA
- Re: [tlug] Tar excluding some folders
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] GettingPastThings(2)
- Next by Date: Re: [tlug] Is linguistics OT at all? & HOWTO Encourage Women in Linux
- Previous by thread: Re: [tlug] Tar excluding some folders
- Next by thread: Re: [tlug] Tar excluding some folders
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links