Split File in Linux With Rar From Command Line

On Jan 28, 2010 1 comments

You may want to compress a large file and split it using rar and you want to do it from command line. Then your command that you need is here.

For example, you want to split a file in 5 MB size. The command is :

$ rar a -v5120k file outfile

That's it, you're done here.

1 comments:

Nik Rolls said...

Actually, it's this:

$ rar a -v5120k outfile infile [infile [etc]]

The infile(s) have to be last because you can specify as many as you like.

Post a Comment