Skip to content

Instantly share code, notes, and snippets.

@joshtrichards
joshtrichards / WebDAV-Small-Files-Perf.md
Last active October 2, 2023 12:24
WebDAV Client Small Files Performance Testing

Rankings

Results, ranked so far (executed via unix time command where possible; balance based on wall clock observation cross-verified with log files):

  1. Cyberduck: 12 seconds (!!!)
  2. cURL + NC's Bulk File API: 50 seconds
  3. Duck.sh: 1 minute 10 seconds
  4. cURL (parallel mode aka -Z): 2 minutes 20 seconds
  5. Windows 10: 4 minutes 45 seconds
  6. Rclone: 7 minutes 41 seconds
@darwin
darwin / readme.md
Last active April 9, 2024 22:30
APFS Container cloning/replicating under Catalina (with a bootable system)

Today I wanted to move existing APFS-resident macOS Catalina installation to a new disk. I upgraded my late 2014 Mac Mini with a shiny new 1TB SSD. This took way too many hours of my life I will never get back. Hope this saves some time to you.

Good news:

  1. it is possible to create a DMG image from existing APFS container with macOS Catalina installation including metadata needed for complete restore (the DMG contains OS, OS Data, Preboot, Recovery and VM volumes)
  2. it is possible to restore this DMG image into empty APFS container and get a bootable copy of the original system

This information is relevant for Catalina (I'm currently running macOS 10.15.1).