Help - Search - Members - Calendar
Full Version: Splitting and joining ISO image into smaller files for backup onto FAT32 drive
InsanelyMac Forum > Discuss and Learn > *nix
success2be
What commands do I use to split and join binary files? Please show me the usage of the commands too. Thanks. The 'man' command can be confusing.

I think I found 'split', but I'm not sure if 'cat' is what I use to join two binary files. I remembered using 'cat' to display text files to the screen.
asap18
use cat to join the iso segments.

cat isopart1.iso isopart2.iso > full.iso
CJMclean
QUOTE(asap18 @ Mar 31 2007, 11:35 AM) *
use cat to join the iso segments.

cat isopart1.iso isopart2.iso > full.iso


Do u mind giving a step by step instruction?

i've tried this

cat "filename*" > "output file name"
or
cat "filenamea[a-e]" > "output filename"

but it just keep saying no such file exist
~pcwiz
I assume you'd have to CD to the directory first so:

CODE
cd /directory/where/iso/parts/are/
cat part1.iso part2.iso > both_parts_combined.iso


Thats if you want to merge 2 parts of an ISO together.
CJMclean
This was what happenned when i tried to change directory

cjmclean$ cd/Documents/Movies/123/abc
-bash: cd/Documets/Movies/123/abc: No such file or directory


thanks for helping mate!
chris2k
a space was missing, do this:

cd /Users/cjmclean/Documents/Movies/123/abc

'cat' as described above

'split -b1024m <file>'
would split the file into 1024MB parts...
CJMclean
after i hit

cat "abc_a[a-b]" > "abc.iso"

nuthin happens

Sorry fellas, i'm such a noob
chris2k
cat part1 part2 part3 >full.iso
CJMclean
thank you chris

its working now.

=D
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.