[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] problem with multiple -C options on extraction
From: |
Keh-Cheng Chu |
Subject: |
[Bug-tar] problem with multiple -C options on extraction |
Date: |
Sun, 1 Jul 2007 11:48:54 -0700 |
User-agent: |
Mutt/1.4.2.2i |
Hi,
Given the following tar file
% tar tf junk.tar
a/
a/aa
b/
b/bb
is there a way to extract the a tree and the b tree into
different directories?
I tried the command
% tar xvf junk.tar -C /tmp/A a -C /tmp/B b
a/
a/aa
b/
tar: a: Cannot utime: No such file or directory
b/bb
tar: Error exit delayed from previous errors
which did extract all the files to where I want them to be
(/tmp/A/a/aa and /tmp/B/b/bb), but the second chdir (to /tmp/B)
seems to have happened a little too early.
Thanks,
Keh-Cheng Chu
- [Bug-tar] problem with multiple -C options on extraction,
Keh-Cheng Chu <=