On Friday 29 July 2005 6:11 am, Jerry Feldman wrote:
On Thursday 28 July 2005 9:02 pm, robert guru wrote:
hallo,
there is any shell command that compress and split a big sized file into many smaller compressed files for example a data file (file.data) with the size of 15 Mega bytes will compressed (by tar command for example) and divided to many smaller files of 3 mega each file (file.data1.zip, file.data2.zip .... ), because i have to email those files as attachments.
PS: I would like that the zipped files will be recognized and gathered by windows too (like Win-rare tool)..
The split(1) command will do this for you. I don't know what compatibility it has with Windows, but if you install Cygwin (or possibly Microsoft Unix Tools) you should be ok.
There is a command line rar package for linux, which should be compatible with the windows version. I've used it with SuSE 9.1, don't know if it will work with 8.0. -- Don