Posts Tagged rar

How to sub-volume compress files on Linux

First, install the rar software.
# wget ftp://ftp.pbone.net/mirror/dag.wieers.com/redhat/el5/en/x86_64/dag/RPMS/rar-3.8.0-1.el5.rf.x86_64.rpm
# rpm -ivh rar-3.8.0-1.el5.rf.x86_64.rpm

Then use command to sub-volume compress files.
For example, if we want to sub-volume compress a file or directory into some 500m files.
# rar a -v500m filename.rar filename
# rar a -v500m dirname.rar dirname

After that:
We will see many files like filename.part1.rar filename.part2.rar …

If we need to extract them on Linux, we need use this command:
# rar x filename.part1.rar

If we need to extract them on Windows, just download all of them, and use the software “WinRAR”.

No Comments

Fork me on GitHub