Web Hosting Talk







View Full Version : Winrar on Linux?


iamthebest
05-06-2008, 03:19 AM
I have a few large files on my server and I would like to split them to smaller rar files, I know there is some way of doing it on a Linux server but not 100% sure how to any help would be nice :>

Thanks.

TheSupportGuy
05-06-2008, 05:30 AM
zipsplit -n 100000 zipfile.zip

10000bytes

iamthebest
05-06-2008, 06:37 AM
Needs to be rar not zip and I am not very experienced with code :stickout:

EastsideHosting
05-06-2008, 06:48 AM
Install:
wget rarlabs.com/rar/rarlinux-3.7.1.tar.gz; tar xf rarlinux-3.7.1.tar.gz; cd rar; make

List of commands:
rar help

Dotex
05-06-2008, 02:12 PM
If you have rarlinux installed as EastsideHosting showed you above, you can split a large file into 500KB chunks as follows

rar a -v500K -vn final-file.rar largefile

This will result in several final-file.r00,final-file.r01, etc which you can then rejoin after uploading/downloading using the following command

unrar final-file.r00 or
rar x final-file.r00

eviltechie
05-06-2008, 02:35 PM
They should probably have called it LinRAR, for consistency and all. :)

EastsideHosting
05-06-2008, 07:34 PM
I've used Winrar on Linux, but never had to use the split option and when I did rar help, I saw that command seeing if I could figure out the proper format.