On 2017-08-19 09:59, Mick wrote:
> > > Am I missing something glaringly obvious, or is this a limitation
> > > of rsync? If so, is there another tool that can copy over
> > > symlinked directories properly?
> >
> > I always use -av which copies simlinks correctly. -H is necessary
> > to copy hardlinks. If you need it -l also ensures this.
>
> I've also found that 'rsync -a -l' does the job, but other tools exist
> to achieve the same:
>
> https://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html
>
> https://linux.die.net/man/1/star (look for the section 'Incremental Backups'
For the purposes about which Walter asks, I do not symlink directories,
I symlink the files. IOW, I create what is known as "symlink farms".
There are also multiple tools for doing that:
1. lndir, in the x11-misc/lndir package on gentoo
2. on a GNU system, cp -rsT
3. symlink-tree script in older releases of GNU automake (on my gentoo
system, in the sys-devel/automake-1.11.6-r1 package)
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.