rsync and "._ " – fonts ‘disappearing’
OS X Server 10.4.6.
I'm using the OS X rsync, with the -E extended attributes option, to routinely clone the system.
(Actually, this patched build of it, which elliminates some of the errors...
http://www.lartmaker.nl/rsync/
...but that should not affect the following...)
Under the -E option, rsync splits off any resource fork, prefixing it with "._" and then 'joining' it back after transfer.
However, a standard server installation puts the following files into /System/Library/Fonts...
[code]-rw-r--r-- 1 root wheel 181886 Mar 20 2005 ._HelveLTMM
-rw-r--r-- 1 root wheel 19555 Mar 20 2005 ._Helvetica LT MM
-rw-r--r-- 1 root wheel 28102 Mar 20 2005 ._Times LT MM
-rw-r--r-- 1 root wheel 208576 Mar 20 2005 ._TimesLTMM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 HelveLTMM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 Helvetica LT MM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 Times LT MM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 TimesLTMM[/code]
with the result that rsync gives an error code 24 (Partial transfer due to vanished source files) and does NOT copy across the '._' fonts, which appear to be the 'real' font files, whereas the null sized font files DO get carried across.
Just to clarify, the following files get copied across to the clone...
[code]-rw-r--r-- 1 root wheel 0 Mar 28 2005 HelveLTMM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 Helvetica LT MM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 Times LT MM
-rw-r--r-- 1 root wheel 0 Mar 28 2005 TimesLTMM[/code]
So, first question... anyone know what are those fonts (e.g. ._TimesLTMM) doing there in the first place?
Could I just rename them to the 'real' names, and therefore get rid of the rsync errors, and copy across the fonts properly?
Ta.
-david