rsync and symlinks...how to preserve links but not follow dir symlinks

This is a discussion on rsync and symlinks...how to preserve links but not follow dir symlinks within the Rsync forums, part of the Networking and Network Related category; Hi Everyone, I am trying to figure out how to archive a large directory tree (200GB +) while preserving symbolic links, ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-01-2004
Kevin Ready
 
Posts: n/a
Default rsync and symlinks...how to preserve links but not follow dir symlinks

Hi Everyone,

I am trying to figure out how to archive a large directory tree (200GB
+) while preserving symbolic links, but not following them.

"rsync -ax source_dir destination_dir" preserves symbolic links, and
at the same time follows links to directories and creates multiple
parallel copies of my parts of my tree as it recurses. (a 40 GB
branch might bloat to 160 GB because rsync follows sym links to other
directories in the same tree and copies the contents again and again).

Anyone know how to keep links but not follow them?

Thank you for your assistance!

Kevin Ready
Toshiba America Electronic Components
STI Design Center
Austin, Texas
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0