Copying a file system w/ tar - symbolic links not copied right.

Andy Greenwood greenwood.andy at gmail.com
Wed May 10 18:23:47 PDT 2006


# man tar

specifically, the -L option

On 5/10/06, Don O'Neil <don at lizardhill.com> wrote:
> 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?
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list