The following command compresses the file1
file, using the default algorithm and strength of gzip-6:
$ vxcompress file1
The following command recursively compresses all files below the dir1
directory, using the gzip algorithm at the highest strength (9):
$ vxcompress -r -t gzip-9 dir1
The following command compresses the file2
file and all files below the dir2
directory, using the gzip algorithm at strength 3, while limiting the vxcompress command to a single thread and reducing the scheduling priority:
$ vxcompress -r -t gzip-3 file2 dir1
The following command displays the results of compressing the file1
file in human-friendly units:
$ vxcompress -L file1 %Comp Physical Logical %Exts Alg-Str BSize Filename 99% 1 KB 159 KB 100% gzip-6 1024k file1
The following command uncompresses the file1
file:
$ vxcompress -u file1