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


Reply via email to