tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Guy Dallaire <dallaire () total ! net>
To: tru64-unix-managers
Subject: Easy Q: Best way to move a directory tree
Date: Wed, 07 May 1997 13:40:37 +0000	[thread overview]
Message-ID: <96078612210211.tru64-unix-managers.marc@archive.invalid> (raw)

Hello,

I have to move a HUGE directory tree (oracle software installation) to a
different file system. I made some preliminary tests and I am not satisfied
with the results. I don't want to ressort to a backup/restore of the
directory.

Here is my problem: The various subdirectories contains symbolic links, I
had problems moving it with mv, got error messages. I also tried with the
following command:

    cd fromdir; tar -cf . | (cd todir; tar xf -)

In this case, the file timestamps changed (when I do an ls -l). Is there a
way to move that directory tree somewhere else and:

	a) Preserve the same file protections
	b) Preserve the files timestamps
	c) Preserve file ownership 

Thanks



Guy Dallaire
dallaire@total.net

"God only knows if god exists"

                 reply	other threads:[~1997-05-07 13:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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