On 18/06/13 17:35, Kevin Korb wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you make a link to a link you make a link to all of its links. The
effect is the same.
Good point -- I hadn't thought of it like that. Thanks for the tip.
cheers
Chris
On 06/18/13 12:27, Chris Dennis wrote:
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
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. [email protected] (work)
Orlando, Florida [email protected] (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHAjG4ACgkQVKC1jlbQAQcvVgCgks/5JRXax+OLMVH3chMOqge8
vMsAoJYat6BZWtDdDGeg2kTQvr0gT5Rx
=xaMU
-----END PGP SIGNATURE-----
--
Chris Dennis [email protected]
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