Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 102013
 

How to copy symbolic links as real files when using rsync

Answer:

Use the -L or --copy-links option, e.g.

rsync -avuz --copy-links -e ssh /home/john 192.168.1.5:/data/backup/

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>