This is a review of the new Mac OS X Snow Leopard program Squeeze 'Squeeze is a background file compressor, which uses the new HFS-compression technology in Snow Leopard to transparently compress the folders you configure it to process. Mac OS will read those files normally, they will just take less disk space.' I'm trying to decompress a Mach-O binary which has been compressed using one of the compression algorithms in Mac 10.10's HFS+ implementation. Basically the file has the 'com.apple.decmpfs' attribute on it, which says that it is compression type 8. Then the compressed contents of the file are stored in the file's resource fork. That’s a right PITA and really strange for the usually user friendly Mac. If you want to try HFS+ compression from the command line – check out here. We found a nifty and cheap tool to use HFS+ compression, but it’s disappeared. Outlook for Mac data folder location. Outlook 2016 for Mac puts the data folders in the users.
gistfile1.txt
$ killall Mail |
$ afsctool -c -s 20 -v -9 /Users/$USER/Library/Mail/V2/ |
/Users/stas/Library/Mail/V2/: |
Number of HFS+ compressed files: 432654 |
Total number of files: 460614 |
Total number of folders: 110941 |
Total number of items (number of files + number of folders): 571555 |
Folder size (uncompressed; reported size by Mac OS 10.6+ Finder): 26326621476 bytes / 27.27 GB (gigabytes) / 25.4 GiB (gibibytes) |
Folder size (compressed - decmpfs xattr; reported size by Mac OS 10.0-10.5 Finder): 16874488024 bytes / 17.2 GB (gigabytes) / 16.02 GiB (gibibytes) |
Folder size (compressed): 17564481987 bytes / 17.89 GB (gigabytes) / 16.66 GiB (gibibytes) |
Compression savings: 33.3% |
Approximate total folder size (files + file overhead + folder overhead): 18329261558 bytes / 18.33 GB (gigabytes) / 17.07 GiB (gibibytes) |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
#36560closedenhancement (fixed)
Reported by: | Owned by: | mfeiri |
---|
Priority: | Normal | Milestone: |
---|
Component: | base | Version: | 2.1.99 |
---|
Keywords: | Cc: |
---|
Port: |
---|
Description
Attachments (4)
- hfscompression.diff (665 bytes) - added by mfeiri8 years ago.
- hfscompression2.diff (672 bytes) - added by mfeiri8 years ago.
- hfscompression3.diff (2.6 KB) - added by mfeiri6 years ago.
- activate_with_compression.patch (1.4 KB) - added by eborisch (Eric A. Borisch)3 years ago.
- Opportunistic bsdtar w/ --hfsCompression usage during activation.
Download all attachments as: .zip
Change History (39)
Changed 8 years ago by mfeiri
comment:1 Changed 8 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)
comment:3 Changed 8 years ago by nonstop.server@…
comment:4 Changed 8 years ago by mfeiri
comment:5 Changed 8 years ago by mfeiri
comment:6follow-up: 7 Changed 8 years ago by jmroot (Joshua Root)
comment:7 in reply to: 6 Changed 8 years ago by jmroot (Joshua Root)
comment:8 Changed 8 years ago by jmroot (Joshua Root)
Afsctool Hfs Compression For Mac Computers
comment:9 Changed 8 years ago by cooljeanius (Eric Gallager)
Changed 8 years ago by mfeiri
comment:10 Changed 8 years ago by mfeiri
Owner: | changed from macports-tickets@… to mfeiri@… |
---|
Status: | reopened → new |
---|
comment:11 Changed 8 years ago by jmroot (Joshua Root)
comment:12 Changed 8 years ago by mfeiri
comment:13 Changed 8 years ago by mfeiri
comment:14follow-up: 15 Changed 8 years ago by jmroot (Joshua Root)
comment:15 in reply to: 14 Changed 8 years ago by cooljeanius (Eric Gallager)
Last edited 8 years ago by cooljeanius (Eric Gallager) (previous) (diff)
comment:16follow-up: 17 Changed 8 years ago by mfeiri
comment:17 in reply to: 16 Changed 8 years ago by jmroot (Joshua Root)
comment:18 Changed 6 years ago by ryandesign (Ryan Schmidt)
Afsctool Hfs Compression For Mac Osx
comment:19 Changed 6 years ago by raimue (Rainer Müller)
Changed 6 years ago by mfeiri
comment:20 Changed 6 years ago by mfeiri
comment:21follow-up: 22 Changed 6 years ago by RJVB (René Bertin)
comment:22 in reply to: 21 ; follow-up: 23 Changed 6 years ago by ryandesign (Ryan Schmidt)
comment:23 in reply to: 22 ; follow-up: 24 Changed 6 years ago by RJVB (René Bertin)
Last edited 6 years ago by ryandesign (Ryan Schmidt) (previous) (diff)
comment:24 in reply to: 23 ; follow-up: 26 Changed 6 years ago by ryandesign (Ryan Schmidt)
comment:25 Changed 6 years ago by fracai
comment:26 in reply to: 24 Changed 6 years ago by RJVB (René Bertin)
comment:27 Changed 6 years ago by fracai
Last edited 6 years ago by fracai (previous) (diff)
comment:28 Changed 6 years ago by RJVB (René Bertin)
Afsctool Hfs Compression For Mac Os
Last edited 6 years ago by RJVB (René Bertin) (previous) (diff)
comment:29 Changed 6 years ago by RJVB (René Bertin)
comment:30 Changed 5 years ago by andre.david@…
comment:31 Changed 3 years ago by eborisch (Eric A. Borisch)
comment:32 Changed 3 years ago by eborisch (Eric A. Borisch)
Changed 3 years ago by eborisch (Eric A. Borisch)
Attachment: | activate_with_compression.patch added |
---|
Afsctool Hfs Compression For Mac Pro
comment:33 Changed 3 years ago by 1-61803
comment:34 Changed 3 years ago by eborisch (Eric A. Borisch)
comment:35 Changed 3 years ago by Eric A. Borisch <eborisch@…>
Note: See TracTickets for help on using tickets.