Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 144564 - Intuitive way to preserve symbolic links
Intuitive way to preserve symbolic links
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-01-08 07:44 EST by Christopher Beland
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-10 05:28:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Christopher Beland 2005-01-08 07:44:40 EST

It would be handy if scp took an argument similar to cp's
--no-dereference, to allow it to preserve symbolic links.  That way,
it'd be easy to replicate a directory/file structure with links
intact, from machine to machine.

Currently, you have to do something like the following (arguably
non-intuititve, certainly less convenient) workaround.

tar -cf - /source | ssh hostname.domain tar -xf - -C /destination
Comment 1 Sitsofe Wheeler 2005-01-08 13:07:41 EST
Or use rsync...
Comment 2 keith adamson 2005-01-08 19:20:45 EST
as in ...

rsync -avze ssh \
    username@hostname:/name/of/directory/to/copy/from/ \

or ...

rsync -avze ssh \
    /name/of/directory/to/copy/from/ \

rsync is great!!    
Comment 3 Tomas Mraz 2005-02-10 05:28:34 EST
Sorry but this was rejected upstream as it would break the rcp/scp
protocol. Use sftp or rsync.

Note You need to log in before you can comment on or make changes to this bug.