<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Ram,</div><div class=""><br class=""></div><div class="">  In OS X, some font types (not all) put the font payload in the resource fork. Netatalk provides AFP filesharing, imitating the resource forks by creating secondary files in “.Appledouble” folders within each folder. Netatalk tracks the resource forks, and other metadata, by keeping a “Desktop database” at the root of the shared volume — look for .AppleDesktop, and .AppleDB.</div><div class=""><br class=""></div><div class="">  You can double check the font still has its payload by looking at the size of “./.Appledouble/fontname.ext"</div><div class="">  To use the backup, you have to present that storage on a machine that has Netatalk, AND to rebuild the 'desktop file’. </div><div class="">  To rebuild the desktop: “sudo dbd -r /home/AFPshare”, or just to check it use "-s” for a scan.  I usually stop the service, run the scan piped to “wc -l” and then do a rebuild, scan and count the errors, rebuild, etc until the number of error lines stops going down, or is zero. If there are still errors (usually codepage issues from moving between platforms) I check the files and work out how to fix it.</div><div class=""><br class=""></div><div class="">  My best recommendation is to move away from Netatalk and go to Samba. It’s not perfect, but with OSX10.10 things are starting to get better. Samba removes the custom .Appledouble and the database, forcing the client computer to create “dot-underscore” files (fontname.ext & ._fontname.ext).</div><div class=""><br class=""></div><div class="">  Also worth noting, Apple still ships rsync 2.6.9 with OSX10.10! The same version since late 10.4 version. I’ve followed the suggestion of Mike Bombich who writes CarbonCopyCloner and built a universal 3.0.7 executable which I deploy to all my Apple servers.</div><div class=""><br class=""></div><div class="">OSX 10.10 native:</div><div class=""><blockquote type="cite" class="">rsync  version 2.6.9  protocol version 29<br class="">Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.<br class=""><<a href="http://rsync.samba.org/" class="">http://rsync.samba.org/</a>><br class="">Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,<br class="">              inplace, IPv6, 64-bit system inums, 64-bit internal inums<br class=""></blockquote></div><div class=""><br class=""></div><div class="">per Bombich instructions:</div><div apple-content-edited="true" class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto;" class=""><span><blockquote type="cite" class="">Capabilities:<br class="">    64-bit files, 32-bit inums, 64-bit timestamps, 64-bit long ints,<br class="">    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,<br class="">    append, ACLs, xattrs, no iconv, symtimes, file-flags</blockquote><br class=""></span></div><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto;" class=""><span><blockquote type="cite" class="">file rsync3 <br class="">rsync3: Mach-O universal binary with 3 architectures<br class="">rsync3 (for architecture ppc):<span class="Apple-tab-span" style="white-space:pre">  </span>Mach-O executable ppc<br class="">rsync3 (for architecture i386):<span class="Apple-tab-span" style="white-space:pre">      </span>Mach-O executable i386<br class="">rsync3 (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre">   </span>Mach-O 64-bit executable x86_64<br class=""></blockquote></span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span><br class=""></span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span><br class=""></span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span>Regards,</span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span><br class=""></span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span>   Bryan</span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On 13 Dec 2014, at 4:04 am, <a href="mailto:devzero@web.de" class="">devzero@web.de</a> wrote:</div><br class="Apple-interchange-newline"><div class="">what is the source and destination filesystem?<br class=""><br class="">here is some report that rsync has some problem with HFS+ filesystems and "ressource forks": <a href="http://quesera.com/reynhout/misc/rsync+hfsmode/" class="">http://quesera.com/reynhout/misc/rsync+hfsmode/</a><br class=""><br class="">but as you are using ubuntu and not osx i`m curious what`s the problem, so i think we need more information here.<br class=""><br class="">regards<br class="">roland<br class=""><br class=""><br class=""><blockquote type="cite" class="">Gesendet: Freitag, 12. Dezember 2014 um 15:31 Uhr<br class="">Von: "Ram Ballu" <<a href="mailto:ram@edom.it" class="">ram@edom.it</a>><br class="">An: <a href="mailto:rsync@lists.samba.org" class="">rsync@lists.samba.org</a><br class="">Betreff: Re: Aw: Re:  rsync not copy all information for font file<br class=""><br class="">Some more details on my problem.<br class="">The machine have Ubuntu 12.04 with rsync version 3.0.9<br class="">I am using this server as data server using "Netatalk" for share with apple OS for my graphics work, so here i save my work containing file created by (indesign, photoshop, illustrator, quark xpress, mathtype etc.)<br class="">I have try to backup my shared folder on external HDD using "rsync" mounting external HDD in local. But in backup copy the font file result Zero kb.<br class=""><br class="">Here is the result i try to backup only the folder containing font.<br class="">Here PROVA_BKP_SRC is source directory(folder on local HDD) and BKP_DES is folder on external HDD mounted in local. <br class=""><br class=""># rsync -av PROVA_BKP_SRC/ /BKP_DES/<br class="">sending incremental file list<br class="">./<br class="">:2eDS_Store<br class="">Times Bold Italic/<br class="">Times Bold Italic/BI Times BoldItalic<br class="">Times Bold Italic/TimesBolIta<br class="">Times Bold Italic/.AppleDouble/<br class="">Times Bold Italic/.AppleDouble/.Parent<br class="">Times Bold Italic/.AppleDouble/BI Times BoldItalic<br class="">Times Bold Italic/.AppleDouble/TimesBolIta<br class="">Times Bold/<br class="">Times Bold/B Times Bold<br class="">Times Bold/TimesBol<br class="">Times Bold/.AppleDouble/<br class="">Times Bold/.AppleDouble/.Parent<br class="">Times Bold/.AppleDouble/B Times Bold<br class="">Times Bold/.AppleDouble/TimesBol<br class="">Times Italic/<br class="">Times Italic/I Times Italic<br class="">Times Italic/TimesIta<br class="">Times Italic/.AppleDouble/<br class="">Times Italic/.AppleDouble/.Parent<br class="">Times Italic/.AppleDouble/I Times Italic<br class="">Times Italic/.AppleDouble/TimesIta<br class="">Times Roman/<br class="">Times Roman/Times<br class="">Times Roman/TimesRom<br class="">Times Roman/.AppleDouble/<br class="">Times Roman/.AppleDouble/.Parent<br class="">Times Roman/.AppleDouble/Times<br class="">Times Roman/.AppleDouble/TimesRom<br class=""><br class="">sent 183840 bytes  received 447 bytes  368574.00 bytes/sec<br class="">total size is 183542  speedup is 1.00<br class="">--------------<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">Il giorno 12/dic/2014, alle ore 13.02, <a href="mailto:devzero@web.de" class="">devzero@web.de</a> ha scritto:<br class=""><br class=""><blockquote type="cite" class="">yes<br class=""><br class=""><blockquote type="cite" class="">Gesendet: Freitag, 12. Dezember 2014 um 12:59 Uhr<br class="">Von: "Ram Ballu" <<a href="mailto:ram@edom.it" class="">ram@edom.it</a>><br class="">An: <a href="mailto:devzero@web.de" class="">devzero@web.de</a><br class="">Betreff: Re: Aw: rsync not copy all information for font file<br class=""><br class="">Ronald, <br class="">thanks a lot for your kind suggestion and for compliments on my english(i take it like compliments :-) )<br class="">I will try after sometime as you say me and than update you.<br class="">so now command i have to use is <br class=""><br class="">"rsync -av /source_folder /Destination_folder" ?<br class=""><br class="">Thanks again<br class="">Ram<br class=""><br class="">Il giorno 12/dic/2014, alle ore 11.27, <a href="mailto:devzero@web.de" class="">devzero@web.de</a> ha scritto:<br class=""><br class=""><blockquote type="cite" class="">you mean, rsync "silently" creates 0kb sized files and only a special type of file shows this behaviour?<br class=""><br class="">try increasing rsync verbosity with "-v" , delete the 0kb files and retry. you can send the output of rsync to this list if it`s not too long if you don`t get a clue from that. mind that it may contain private information.<br class=""><br class="">you should also omit "-z" because it makes no sense for local transfer. you do not want compression here, because it slows things down and burns cpu for nothing.<br class=""><br class="">regards<br class="">roland<br class=""><br class="">ps:<br class="">i`m no native english speaker, but i think your english is quite ok.<br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">Gesendet: Freitag, 12. Dezember 2014 um 10:44 Uhr<br class="">Von: "Ram Ballu" <<a href="mailto:ram@edom.it" class="">ram@edom.it</a>><br class="">An: <a href="mailto:rsync@lists.samba.org" class="">rsync@lists.samba.org</a><br class="">Betreff: rsync not copy all information for font file<br class=""><br class="">Good morning list, <br class="">this is my first question and hope really to get an answer, sorry for my bad english :-(<br class=""><br class="">Ok so i have a machine with ubuntu and use as data server for my graphics works. <br class="">Now i am trying to backup my folder on an external HDD using "rsync" where i save all my data file (file of graphics software, image, font etc.).<br class="">For this i mount HDD in local and launch command "rsync  -avz  source_folder  destination_folder.<br class="">I notice that in backup copy font file have zero kb size rather than 25-60 kb in source folder and i can't use the font from backup folder as it results zero kb.<br class="">Can someone help me to solve this issue.<br class="">Thanks in advance to all for reading this and spend your time.<br class="">Ram<br class=""><br class="">-- <br class="">Please use reply-all for most replies to avoid omitting the mailing list.<br class="">To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" class="">https://lists.samba.org/mailman/listinfo/rsync</a><br class="">Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" class="">http://www.catb.org/~esr/faqs/smart-questions.html</a><br class=""><br class=""></blockquote></blockquote><br class=""><br class=""></blockquote></blockquote><br class="">-- <br class="">Please use reply-all for most replies to avoid omitting the mailing list.<br class="">To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" class="">https://lists.samba.org/mailman/listinfo/rsync</a><br class="">Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" class="">http://www.catb.org/~esr/faqs/smart-questions.html</a><br class=""><br class=""></blockquote>-- <br class="">Please use reply-all for most replies to avoid omitting the mailing list.<br class="">To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" class="">https://lists.samba.org/mailman/listinfo/rsync</a><br class="">Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" class="">http://www.catb.org/~esr/faqs/smart-questions.html</a><br class=""></div></blockquote></div><br class=""></body></html>