1
- # This is my version of brkirch's afsctool
1
+ # RJVB's fork of of brkirch's afsctool
2
2
3
3
> AFSC (Apple File System Compression) tool is a utility that can be used
4
4
to apply HFS+ compression to file(s), decompress HFS+ compressed file(s), or
@@ -15,7 +15,6 @@ I have made several modifications, mostly concerning the compression feature:
15
15
temporarily. No error checking is done for this feature; failure will lead to
16
16
errors that are already caught.
17
17
18
-
19
18
The main new feature that justifies the version bump, however, is the parallel
20
19
processing feature, allowing the user to specify an arbitray (though positive :))
21
20
number of threads that will compress the specified files in parallel.
@@ -27,6 +26,7 @@ This feature has two modes that each perform best in specific conditions:
27
26
state disks, file collections that reside on different disks or collections with
28
27
files of different sizes (including notably very large files). This mode is
29
28
selected with the -J option.
29
+
30
30
The performance difference is never enormous in my testing, but YMMV.
31
31
32
32
Interestingly, the optimum performance (on large collections) is not necessarily
@@ -59,21 +59,20 @@ mode adopts the approach also used for LZVN compression, where the memory buffer
59
59
as needed and thus only gets as large as needed (typically 4-5x smaller than in the singleshot
60
60
mode). Singleshot mode might be marginally faster when enough RAM is available.
61
61
62
-
63
- ### Installation
62
+ # Installation
64
63
65
64
afsctool depends on zlib (v1.2.8 or newer) and Google's sparsehash library and on CMake
66
65
and pkgconfig for building. The OS zlib copy may be recent enough (it is on 10.12 and later) but to be
67
66
certain to obtain the latest versions of both, use a package manager like MacPorts, Fink
68
67
or HomeBrew. Be sure to follow the general installation and usage instructions for those
69
68
projects, in particular how to update your PATH.
70
69
71
- # using MacPorts:
70
+ ## Using MacPorts:
72
71
``` shell
73
72
port install sparsehash zlib cmake pkgconfig
74
73
```
75
74
76
- # using HomeBrew:
75
+ ## Using HomeBrew:
77
76
``` shell
78
77
brew install google-sparsehash zlib cmake pkgconfig
79
78
PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig
0 commit comments