On 18/06/13 16:53, Kevin Korb wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The -H there isn't needed and could only cause increased memory usage.
I realise that --link-dest implies hard links between directories, but I
use -H as well to maintain any hard links within the source directory.
Does that make sense?
cheers
Chris
On 06/18/13 11:49, Chris Dennis wrote:
On 18/06/13 15:02, Kevin Korb wrote: rsync -vai
--lin-dest=/path/to/source/ /path/to/source/ /path/to/target/ Note
that if you try it with relative paths the link-dest will be
relative to the source not .
Thank you Kevin.
I'd forgotten that --link-dest needed a relative path. This
works for me:
rsync -Haxv --stats --link-dest ../dir1 dir1/ dir2
The / on the end of the second dir1 is, of course, essential.
cheers
Chris
--
Chris Dennis cgden...@btinternet.com
Fordingbridge, Hampshire, UK
--
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