Hi all...
Ok... More info for the puzzle.
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
Subject: Re: Copying a file system w/ tar - symbolic links not copied right
- More info
Hi all...
Ok... More info for the puzzle.
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
Hi all...
Ok... More info for the puzzle.
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
Olivier Nicole wrote:
I'm trying to move a file system from one disk to another, and when I do
this:
I think that the way to go is:
tar cf - /source/* | ( cd /destination tar xfvBp - )
Note the Bp at the end of the extract tar.
olivier
Is that for BSD tar, or gtar (GNU)? We still
: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right.
Olivier Nicole wrote:
I'm trying to move a file system from one disk to another, and when
I do
this:
I think that the way to go is:
tar cf - /source/* | ( cd
Of Philip Hallstrom
Sent: Thursday, May 11, 2006 10:35 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right
- More info
Hi all...
Ok... More info for the puzzle.
I'm trying to move a file system from one disk to another
I've tried both the BSD and GNU tars, I get the same results on both. It's
very strange.
When I add the B option, no different I used:
tar cf - /array01/* | ( cd /mnt/disk01 tar xfvBp - )
Maybe this is something specific to 4.11?
Here's what happens:
Source file:
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip
Hallstrom
Sent: Thursday, May 11, 2006 10:35 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied
right
- More info
Hi all...
Ok... More info
# man tar
specifically, the -L option
On 5/10/06, Don O'Neil [EMAIL PROTECTED] 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
-
From: Andy Greenwood [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 6:24 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right.
# man tar
specifically, the -L option
On 5/10/06, Don O'Neil [EMAIL PROTECTED
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Andy Greenwood
Sent: Thursday, 11 May 2006 11:24 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links
not copied right.
# man tar
On 5/10/06, Don O'Neil [EMAIL PROTECTED] wrote:
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?
From: Andy
In the last episode (May 10), Don O'Neil said:
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
I'm trying to move a file system from one disk to another, and when I do
this:
I think that the way to go is:
tar cf - /source/* | ( cd /destination tar xfvBp - )
Note the Bp at the end of the extract tar.
olivier
___
14 matches
Mail list logo