LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 06-13-2010, 05:41 AM   #1
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Splitting and Merging files using dd


A new la entry has been added:

Splitting and Merging files using dd

Quote:
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!
 
Old 06-13-2010, 02:39 PM   #2
colo
LQ Newbie
 
Registered: Mar 2004
Location: Austria
Distribution: Gentoo, Debian, Ubuntu
Posts: 14

Rep: Reputation: 0
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.
 
Old 03-07-2014, 09:00 AM   #3
ikeeki
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Thumbs up

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging Data Files toshibalaptoplinux Linux - Newbie 6 12-14-2008 11:32 PM
Merging ,pdf files satimis Linux - General 6 11-21-2007 08:31 PM
splitting files pinoyskull Programming 5 10-22-2007 10:30 PM
Merging Two Files using C++ ckoniecny Programming 5 09-26-2006 09:00 AM
Splitting then Merging Pres Linux - General 2 03-01-2004 09:03 AM


All times are GMT -5. The time now is 12:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration