资 源 简 介
Command line utility to guess whether compressing a given file with bz2 results in space savings better than a given threshold.
Does sample bzip2 compression of approximately log(flen)*4096 picked from log(flen) locations in the file.
```
Usage:
compressible [-v] [-t threshold] [-c fragcnt] [-m msiz] [-b ba] filename
-t threshold minimum saving threshold, default 25% or 1 block
-c fragcnt number of fragments
-m msiz return as not compressible for smaller files
-b ba "s" - be smart about blocksize
number - assume this blocksize
Returns: 0 if compressible, 1 not compressible, or error code
```
RPM packages for Fedora can be generated by rpmbuild -ta compressible-XX.tar.bz2
See also example usage and StoreBackupTips
Currently no svn repository, get sources from 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报