Alexey Eremenko wrote:
Hi all !
I came across a problem: splitting files.
How to best approach this problem ?
I have used "split" command: Like that, to split 1 ISO file into many 1 MB files. split -d -b $[1000*1000] --verbose ../visopsys-0.62.iso
But I came across a problem, how-to merge them back?
I did something *very* ugly: alexey@opensuse102:/F/OSes/test> cp x00 finalfile.iso alexey@opensuse102:/F/OSes/test> cat x01 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x02 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x03 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x04 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x05 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x06 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x07 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x08 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x09 >> finalfile.iso alexey@opensuse102:/F/OSes/test> cat x10 >> finalfile.iso alexey@opensuse102:/F/OSes/test> alexey@opensuse102:/F/OSes/test> md5sum ../visopsys-0.62.iso f76eea3e3bbb441570984a7f6fb8d646 ../visopsys-0.62.iso alexey@opensuse102:/F/OSes/test> md5sum finalfile.iso f76eea3e3bbb441570984a7f6fb8d646 finalfile.iso
Is there any beautyful command, that is "anti-split" ? I have tried "join", but this command is very bad: it can only join up to 2 files.
I have heard about the possibility of multi-volume TAR archives, but I could not find the right keys in the tar info pages.
Please help me finding the convenient commands to split/join files
One thing you could have tried is cat x00 x01 x02...x10 > finalfile.iso. Perhaps using a wild card would work: cat x?? > finalfile.iso or cat x*
finalfile.iso
-- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org