> Aaah, thanks for the insight.  RSYNC must transfer the file regardless of the 
> link count, but it also takes note of the missing link.  So, it probably 
> considers an inode with multiple links "resolved" only after it finds a 
> brother/sister link and deletes the duplicate.

You may also be interested in the rsync --link-dest option. The rsync 
--link-dest option is used in different ways by a variety of backup scripts and 
utilities.

A screen cast about how this works with LBackup is available from the URL below 
: 
 
  - URL <http://www.lbackup.org/screencasts> 
  - Title "Basic Backup Local Machine"


Finally, you may find the following list of commands and output of interest : 

  # touch /tmp/file1
  # ls -l /tmp/file1 
  -rw-r--r--  1 root  wheel  0 Jun 29 07:34 /tmp/file1
  # ln /tmp/file1 /tmp/file2
  # ls -l /tmp/file1 /tmp/file2
  -rw-r--r--  2 root  wheel  0 Jun 29 07:34 /tmp/file1
  -rw-r--r--  2 root  wheel  0 Jun 29 07:34 /tmp/file2


Hope this helps.

------------------------------------
 This email is protected by LBackup
 http://www.lbackup.org


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to