Displaying 1 result from an estimated 1 matches for "wherever1".
Did you mean:
wherever
2002 Feb 20
2
feature request: add -a to scp for archive-style copy
This is a feature request for scp. scp has no easy option to copy
symlinks, etc. to reproduce a directory tree. The -r option follows
symlinks and reads the data out of device files when copying. A few
years ago, the -a option was added to normal cp, replacing the
cumbersome and arcane
(cd wherever1 ; tar cf - whatever) | (cd wherever2 ; tar xpf - )
with
cp -a wherever1/whatever wherever2
Adding a -a option to scp would likewise eliminate the need for the
even more obscure but frequently-typed
ssh wherever1 -l whoever "(cd wherever2 ; tar cf - whatever)" | (cd
wherever3 ; tar xpf...