| compositeMD5(1) | User Commands | compositeMD5(1) |
compositeMD5 - Command-line tool to generate a composite MD5 hash.
xcrun compositeMD5 <file>
compositeMD5 is a command-line utility that generates a composite MD5 hash for a file. To improve performance on large files, it splits the file into parts, calculates MD5 hashes for each part concurrently, and combines the results into a final composite hash. The output includes the composite MD5 in the following format, <hash>-<# parts>-<part size>, and a list of the individual part hashes.
--format {xml | json | normal}
Generate the composite MD5:
Generate the composite MD5 and with the output formatted as JSON:
xcrun(1)
If xcrun compositeMD5 fails, it will typically print an error message to stderr and exit with a non-zero status. Common error messages include:
"File not found"
"File is a directory"
No known bugs.
Apple Inc.
xcrun compositeMD5 was first introduced as a command-line tool to improve performance when uploading large assets to the App Store.
| 2025-06-23 | Apple Inc. |