Last Updated: July 09, 2016
·
156
· nick1984black

use squashfs to save your space.

In some ways, if you want to save your hard disk space, you can try to use squashfs to save your space. Some people may be confused. Normally, squashfs is used to compress a live cd system. But, actually, most of people forget to use it to compress file. Try to use it to compress your file, it can save your disk space.

Some examples here:

mksquashfs /path/to/the/dir/ /path/to/the/file/xxx.[filetype] -lzma

to unpack the file:

unsquashfs /path/to/the/pack/xxx.[filetype] /path/to/the/unpack/dir/