Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Command Line Utility for HFS+ Compressed Files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Command Line Utility for HFS+ Compressed Files
Authored by: brh on Sep 23, '09 12:25:16PM

Just a quick q - everything I try to compress via afsctool seems to give me an 'Unable to compress file,' which isn't particularly informative… Any clue as to what could be causing everything to fail out? And it's not the obvious - I am on 10.6, HFS+…



[ Reply to This | # ]
Command Line Utility for HFS+ Compressed Files
Authored by: brkirch on Nov 20, '09 05:19:14PM

The latest version of afsctool will only fail to compress a file if one of the following is true:
-the file has a resource fork
-the file has a zero length data fork
-the file is not a regular file (if it is for example, a symbolic link)
-the file will become larger after compression is applied
-the file is greater than 2 GiB in size
-there are insufficient privileges to change the file
-user specified conditions aren't met



[ Reply to This | # ]