/APFSOptimize

Saves filesystem space by making APFS clones for duplicate files

Primary LanguageSwift

APFSOptimize

Makes APFS clones from duplicate files to save space. No guarantees that this does not break anything or causes data loss, so use at your own risk.

To use: Run with the target folder as argument, or with no arguments to deduplicate the current working directory.

Requires root permissions in order to set attributes correctly