tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Copy program which follows links
@ 2002-02-22 16:21 McGuinness Todd
  0 siblings, 0 replies; only message in thread
From: McGuinness Todd @ 2002-02-22 16:21 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-22 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-22 16:21 Summary: Copy program which follows links McGuinness Todd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox