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
Systems Engineer
____________________________
NAGRAVISION SA
Kudelski Group
____________________________
Tel. : +41 21 732 03 11
Direct: +41 21 732 0623
Fax : +41 21 732 03 00
E-mail : mcguinness_at_nagra.com
-----Original Message-----
From: Matthias Johnson [mailto:matthias.johnson_at_cudenver.edu]
Sent: vendredi, 22. février 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,
\_at_matthias
On Fri, 2002-02-22 at 02:23, McGuinness Todd wrote:
> Hello All,
>
> One of my colleagues has posed a question which I don't know the answer
to,
> which is:
>
> Is there a way to copy files which lie nested in a link and also the link
-
> for example:
>
> /$toddhome/files -> /usrdir/toddhome/files
>
> I want both the link and the files, even if for example there is a link on
> the 2nd location files:
>
> 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.
>
> cheers,
>
> Todd M. McGuinness
> Systems Engineer
> ____________________________
> NAGRAVISION SA
> Kudelski Group
> ____________________________
> Tel. : +41 21 732 03 11
> Direct: +41 21 732 0623
> Fax : +41 21 732 03 00
> E-mail : mcguinness_at_nagra.com
>
>
--
Matthias Johnson Sr. Systems Administrator
matthias.johnson_at_cudenver.edu CINS - UC Denver
- - - - - - - - - - - - -
But they are useless. They can only give you answers.
-Picasso, on computers
Received on Fri Feb 22 2002 - 16:21:42 NZDT