scp -r blues

Benjamin Smith bens at saber.net
Wed Jun 14 02:32:22 EST 2000


Hi there,

I'm using the latest stable release of open-ssh, and scp, and am having
a problem...

I want to use scp to backup some important files on a publically visible
server.

Everything seems fine, except for two details:

1) scp will not copy a core file. This server is used for devel, and the
occasional core file is created. scp almost always coughs on such files,
and stops.

2) scp -r will recurse sub-directories, but no option is available for
"don't copy sym-links" or similar. It's not uncommon to hit a loop,
copying recursively forever until you are out of disk space locally. In
other words,  if
/home/user/bin/scripts/perl/tcommand
is a symlink to
/home/user/bin/tcommand
than scp will copy the ./scripts/perl/tcommand over and over as
sub-directories over and over... endlessly.

Is there a way around these two problems?

-Ben

--
"Life is short. Live it!"








More information about the openssh-unix-dev mailing list