From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622381.tru64-unix-managers.marc@archive.invalid> From: McGuinness Todd Date: Fri, 22 Feb 2002 16:21:27 +0000 To: tru64-unix-managers Subject: Summary: Copy program which follows links X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622381 Thanks everyone for your aide. The winning solution ended up being CPIO, which as the illustrious Dr. Thomas Blinn pointed out in the following statement - is the same = program as tar and pax. +5 mod points insightful "as it happens, on Tru64 UNIX, tar, cpio, and pax are all the same program (three hardlinks to the same file). They offer a slightly different set of command options." Basically the problem with Tar was that we would have to write a script = to check for the correct directory structure and then re-create the = missing structure(if any) and then do the restore - which in our limited time = is not how we wanted to handle the issue. This list is truly great, thanks. Todd M. McGuinness=20 Systems Engineer=20 ____________________________=20 NAGRAVISION SA=20 Kudelski Group=20 ____________________________=20 Tel. : +41 21 732 03 11=20 Direct: +41 21 732 0623 =20 Fax : +41 21 732 03 00 =20 E-mail : mcguinness@nagra.com=20 -----Original Message----- From: Matthias Johnson [mailto:matthias.johnson@cudenver.edu] Sent: vendredi, 22. f=E9vrier 2002 17:13 To: McGuinness Todd Subject: Re: Copy program which follows links Todd, take a look at cpio. I've used it successfully with -p option to relocate entire drives. HTH, \@matthias On Fri, 2002-02-22 at 02:23, McGuinness Todd wrote: > Hello All, >=20 > One of my colleagues has posed a question which I don't know the = answer to, > which is: >=20 > Is there a way to copy files which lie nested in a link and also the = link - > for example: >=20 > /$toddhome/files -> /usrdir/toddhome/files >=20 > I want both the link and the files, even if for example there is a = link on > the 2nd location files: >=20 > Before someone says TAR it - we know about this solution, but it = will not > suffice for our problem, due to various constraints. We need to make > certain that we get all data and can get it back in the same = location. >=20 > cheers, >=20 > Todd M. McGuinness=20 > Systems Engineer=20 > ____________________________=20 > NAGRAVISION SA=20 > Kudelski Group=20 > ____________________________=20 > Tel. : +41 21 732 03 11=20 > Direct: +41 21 732 0623 =20 > Fax : +41 21 732 03 00 =20 > E-mail : mcguinness@nagra.com=20 >=20 >=20 --=20 Matthias Johnson Sr. Systems Administrator matthias.johnson@cudenver.edu CINS - UC Denver - - - - - - - - - - - - - But they are useless. They can only give you answers. -Picasso, on computers