Transparent compression with Folder Actions in macOS 0 ▲ Get Info 2 hours ago · Tech · hide · 0 comments I just wired this up for my own build folder—where Xcode quietly piles up derived data and archives that eat gigabytes—and figured it was worth writing down. The same trick works on any big codebase, a pile of assets, or a crowded /Applications folder. It relies on transparent file system compression (sometimes called AFSC), which has been built into macOS for years. It’s nothing like a zip archive: files aren’t bundled up or locked away—they keep their names, stay right where they are, and every app opens them as normal. macOS simply stores them compressed on disk and unpacks them on the fly as they’re read. The only thing that changes is the size on disk—often dramatically. Apps can even launch more quickly, which is why all Mac App Store downloads already have this sort of filesystem compression applied. The classic tool for this is afsctool, but these days I reach for applesauce, a modern Rust rewrite. It compresses much faster by working on blocks in parallel, uses less memory,… No comments yet. Log in to reply on the Fediverse. Comments will appear here.