rsync & UFO
Christoph Koeberlin
Posts: 51
Comments
-
What are the options of rsync that you are using? I would play around with some of the options:
--checksum
I guess the checksums to find modified files in an UFO take a while, but maybe it results in a faster transfer than if files that just have a new timestamp, but are identical, are included in the transfer.
--compress
Compressing the files for transfer may or may not be faster than uncompressed files. If each file is compressed on its own, compression may be slower than uncompressed transfer. Not sure how rsync does it.
--whole-file
Transferring whole files may also be faster if there are a lot of small files like in a UFO.
Another idea: If you have rsync access to a server, maybe you have also a login via ssh. Then you could set up a git repository with ssh access. git is quite efficient in optimizing the transfer, and you get version control as a benefit.2 -
Danke, Jenser!
I’ll try the rsync options as you suggest (and will report), and also I’ll see if git is an option.
0 -
Ok, I did some tests with a handy UFO:
rsync -aE
was my initial setting. (-a archive mode, -E copy extended attributes)rsync -aEz
(-z compress)
did not make any difference.rsync -aEW
(-W whole-file)
was a bit faster.
I finally ended up withrsync -aW
leaving away -E copy extended attributes,
which was more than 3 times faster. I guess I don’t need resource forks.
Thanks again!
0 -
Is it faster for a sync, or an initial transfer?0
-
Sorry, that wasn’t clear indeed:
Right now it’s about the initial transfer, and therefore I didn’t test the --checksum setting yet. More to come …
0 -
Update: I tried out git, and it’s fast as a lightning! No rsync any more. Thanks again, Jenser!
4
Categories
- All Categories
- 46 Introductions
- 3.9K Typeface Design
- 488 Type Design Critiques
- 571 Type Design Software
- 1.1K Type Design Technique & Theory
- 658 Type Business
- 870 Font Technology
- 29 Punchcutting
- 528 Typography
- 121 Type Education
- 327 Type History
- 80 Type Resources
- 111 Lettering and Calligraphy
- 32 Lettering Critiques
- 79 Lettering Technique & Theory
- 560 Announcements
- 95 Events
- 116 Job Postings
- 169 Type Releases
- 179 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 114 Suggestions and Bug Reports
