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
- 40 Introductions
- 3.7K Typeface Design
- 793 Font Technology
- 1K Technique and Theory
- 609 Type Business
- 443 Type Design Critiques
- 536 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 478 Typography
- 300 History of Typography
- 113 Education
- 65 Resources
- 494 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 161 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports