Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 18:17:18 -0700
From:      "Don O'Neil" <don@lizardhill.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Copying a file system w/ tar - symbolic links not copied right.
Message-ID:  <005a01c67498$a54a2a70$0300020a@mickey>

next in thread | raw e-mail | index | archive | help
Hi all...

 I'm trying to move a file system from one disk to another, and when I do
this:

tar cf - /source/* | ( cd /destination && tar xfv - )

It copies all the files, but the symbolic links are copied as files of 0
length, rather than re-established as links.

What am I doing wrong here, or is my tar broken?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01c67498$a54a2a70$0300020a>