ditto
SafeCopy preserving metadata
ditto <src> <dst>
Copies with resource forks and xattrs intact; -c -k builds Finder-compatible ZIPs.
Examples
ditto -c -k --sequesterRsrc app/ app.zipMake a Finder-style ZIP
Syntax
ditto [-c -k] <src> <dst>
Before you run it
Mind overwrites.
Used when you see
USB full of '._' junk files
3
See the whole flow →Hand off with attribute-aware copies (ditto)On FAT/exFAT, metadata must become separate files.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store