tim@tse.uucp (Tim Brecht) (02/23/90)
I'm running AIX 2.2.1 on an RT. Can anyone tell me why the following doesn't work ? tar -c -f - dir1 dir2 dir3 | (cd /newdir; tar -x -f -) The idea is make a copy of dir1 dir2 dir3 while retaining dates of creation, ownership, permissions, etc. I'm getting directories and files created in /newdir but some of them are using the same inodes :-( (i.e. the stuff in /newdir is useless). Thanks. tim Tim Brecht tim@tse.uucp Toronto Stock Exchange uunet!geac!tse!tim Toronto, Ontario, CANADA
tim@tse.uucp (Tim Brecht) (02/24/90)
[Please forgive me if you end up seeing this twice I tried cross-posting this but it didn't seem to work.] I'm running AIX 2.2.1 on an RT. Can anyone tell me why the following doesn't work ? tar -c -f - dir1 dir2 dir3 | (cd /newdir; tar -x -f -) The idea is make a copy of dir1 dir2 dir3 while retaining dates of creation, ownership, permissions, etc. I'm getting directories and files created in /newdir but some of them are using the same inodes :-( (i.e. the stuff in /newdir is useless). Thanks. tim Tim Brecht tim@tse.uucp Toronto Stock Exchange uunet!geac!tse!tim Toronto, Ontario, CANADA
windley@cheetah.ucdavis.edu (Phil Windley/20000000) (02/25/90)
In article <1990Feb24.010641.1159@tse.uucp> tim@tse.uucp (Tim Brecht) writes:
Can anyone tell me why the following doesn't work ?
tar -c -f - dir1 dir2 dir3 | (cd /newdir; tar -x -f -)
I'm afraid that I don't know why it doesn't work for you, because I do this
on my RT running 2.2.1 all the time. Maybe it helps to know that it SHOULD
work. Try "cp -r"
--phil--
--
Phil Windley | windley@cheetah.ucdavis.edu
Division of Computer Science | ucbvax!ucdavis!cheetah!windley
University of California, Davis |
Davis, CA 95616 | (916) 752-6452 (or 3168)