[TriLUG] File Size Wierdness in Copy from HP-UX to Linux
rasch at raschnet.com
rasch at raschnet.com
Sun Nov 2 22:30:12 EST 2003
On Sun, Nov 02, 2003 at 10:11:58PM -0500, Scott Chilcote <scottchilcote at earthlink.net> wrote:
> My initial guess was that scp follows links, and there must be a lot of
> linked stuff being copied. I looked at the man page for scp, and didn't
> see any reference to how links or handled (or not). I didn't see any
> parameters that control this either, like tar provides.
>
> There are a number of links in the data being copied, but I have trouble
> believing that it would result in nearly three times as much stuff!
>
> Is this a "follow links" problem, and does anyone know a way around it?
You will find "rsync" has better control for following/not-following
links. Rsync can be tunneled over ssh using "-e ssh" as a parameter.
Rsync must be present on the source and target system.
David
More information about the TriLUG
mailing list