LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2011, 07:14 PM   #1
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
how to check small chunks compared to original file


i want to upload my iso collection to adrive(.)com

i have a slow upload and i want to split each iso file in chunks of 100 MB so they upload while every browsing session of mine.

i figured i should use split and cat commands to do that.
but i cant afford to upload some corrupt archives, so how may i go about checking the small chunks to the original file before uploading

thsanks
 
Old 02-21-2011, 07:17 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
If anything, you could split the files up, then after you are done, join them back together and verify that nothing is corrupted or lost, then you can upload them. That is what I would do; I would rather merge them back together into a seperate file so I could physically see that it works.
 
Old 02-21-2011, 07:25 PM   #3
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by corp769 View Post
If anything, you could split the files up, then after you are done, join them back together and verify that nothing is corrupted or lost, then you can upload them. That is what I would do; I would rather merge them back together into a seperate file so I could physically see that it works.
thanks . i was just trying to avoid that, but after also searching the internet i got that same response.. huh..

PS: i am sorry for the double thread , but i'm downloading cruchbang and it's pretty laggy.
 
Old 02-21-2011, 07:29 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
The only way I look at it is well what if the "program" you use isn't fully verifying it? I am not doubting the workings of any tools, I would just rather do what I said before. But maybe you could use md5 to verify?
 
Old 02-21-2011, 07:31 PM   #5
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by corp769 View Post
The only way I look at it is well what if the "program" you use isn't fully verifying it? I am not doubting the workings of any tools, I would just rather do what I said before. But maybe you could use md5 to verify?
i actually thought of md5 sums also, but i couldn't figure how to make it detect multiple files and check their sums then add them up to be like the original file's md5sum ? huh..
 
Old 02-21-2011, 07:47 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
And that's the problem.... you won't find md5 checksums for pieces of a file. You will have to create them yourself. For a md5 checksum, you will pretty much have to split the file and checksum each individual file, then cat them back together and verify that it works. Once you do that, then you know the small chunks are legit.
 
Old 02-21-2011, 08:36 PM   #7
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
meh.
thanks. pretty much not what i was looking for but it's fine anyways.. better than insecure.. huh .. and at 5kB/s upload .. it really is a big deal./..
 
Old 02-21-2011, 08:41 PM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Wow... can't you upgrade your connection?
 
  


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
[SOLVED] Allocated memory is less in file system compared to the actual allocation vijaysince89 Linux - Virtualization and Cloud 5 11-04-2010 03:39 AM
Programatically remove chunks from a video file? neocookie Linux - Software 1 10-22-2009 06:34 PM
gzip but keep the original file, and bzip2 - multiple files to one file? SirTristan Linux - Newbie 4 10-20-2009 03:37 AM
Extracting chunks of data based on variables stored in another file (Perl?) mchriste Linux - Software 2 03-12-2009 12:44 PM
delete chunks or regions from text file - help K3vin Linux - Software 3 09-26-2005 02:57 AM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration