-   LinuxAnswers Discussion (
-   -   Splitting and Merging files using dd (

Disillusionist 06-13-2010 05:41 AM

Splitting and Merging files using dd
A new la entry has been added:

Splitting and Merging files using dd


Splitting and Merging files using dd

When copying a 15G binary file onto a temporary storage device (to transfer it from a failing machine to a replacement machine), I hit a 4G file size limit and the copy process crapped out.

Rather than use split and cat, I decided to play with dd as I didn't trust split and cat to play well with my binary data file.

[B][I]*** Always make sure you have the Input (if) and Output (of) files specified correctly!

colo 06-13-2010 02:39 PM

While nice, this is a somewhat pointless exercise - neither `split` nor `cat` (nor any other program using fopen() or open() and friends) treat their stdin and stdout in any special way, and it's just as safe to use them for "binary" data as it is for "text" data. POSIX OS are not fundamentally broken like MS-DOS and its successors, insofar as they don't differentiate between "text" and "binary" files; it's "binary" all the way, every time.

ikeeki 03-07-2014 09:00 AM

Hi, this post is old, but I want to thank you anyway. I'm Ikeeki from cubieforums and I need this info to develop an online flasher for armhf based socs devices. Thanks again, info is NEVER useless

All times are GMT -5. The time now is 03:59 AM.