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
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports