On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: > Is there a way to have it skip hard links when doing an rsync?
If you mean you want to skip any file that has more than one link, you could do this: find . -type f -links +1 >/path/exclude.txt Then, you'd use the exclude.txt file via the --exclude-from option. However, you mentioned loops, and that makes me think that the problem is not with file loops, but dirs looping back in the hierarchy. The above won't help you if that is the case (since find will loop too). ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html