LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-31-2012, 01:47 AM   #1
mistofeles
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Rep: Reputation: 1
Question Does Linux verify copy and save ?


Does Linux verify what is saved to the HD ?

I'm using Ubuntu + Gnome + Nautilus and copy files from directory to another.
I'm also using some applications and scripts and saving data there.

Sometimes the data is just _HUGE_ and every bit is extremely important (gene sequences).
I want to ge really sure the data gets saved right.

(I have had some complete katastrophs with M$ while saving data)
 
Old 01-31-2012, 02:16 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
You might want to give a deeper look into "cp" command.
http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/cp
http://linux.die.net/man/1/cp

Regards
 
Old 01-31-2012, 02:33 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,887

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
(I have had some complete katastrophs with M$ while saving data)
That sounds like an excellent example of why one should make regular backups, regardless of the OS one uses.

Last edited by bigrigdriver; 01-31-2012 at 02:34 AM.
 
Old 01-31-2012, 06:16 AM   #4
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Funtoo
Posts: 124

Rep: Reputation: 25
If you want to check, you can use "md5sum":
Code:
md5sum your_huge_file where/you/copied/your_huge_file
If the hexadecimal numbers are the same, then the files are identical.

Or even simpler:
Code:
diff -qs your_huge_file where/you/copied/your_huge_file
 
Old 01-31-2012, 06:33 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
You could use rsync to do the copy. It does verify (and it accordingly takes longer than cp).
 
  


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
Save mirror copy to pen-drive? palotronix Debian 3 11-20-2011 12:44 PM
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 01:51 AM
forward and save copy in exim adnanhasanz Linux - Newbie 1 11-27-2007 01:33 AM
How to copy/save a file from a Linux box to a local drive exl75 Linux - General 11 04-10-2007 12:52 PM
Cannot save copy of sent mails with mutt SlackN00b Linux - Software 1 06-09-2006 09:56 AM


All times are GMT -5. The time now is 10:43 PM.

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