LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2016, 04:38 AM   #1
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Rep: Reputation: 37
Need a script/program for comparing checksums


Hi. I transferred a ton of files over to my psp, and somewhere along the way a few of my files corrupted on my psp. I would like a program that will compare all the same filenames to directories on my hard drives to see what other files went bad by getting an output of all the MD5 hashs that aren't matching. Anyone can help me with a tool for the job?
Thanks
 
Old 10-10-2016, 06:23 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 17,000

Rep: Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741Reputation: 5741
see man md5sum for example
 
1 members found this post helpful.
Old 10-10-2016, 08:19 AM   #3
Elizine
Member
 
Registered: Aug 2015
Posts: 54
Blog Entries: 1

Rep: Reputation: Disabled
Need a script/program for comparing checksums

Please refer to this thread - http://www.unix.com/shell-programmin...t-folders.html
 
Old 10-10-2016, 05:54 PM   #4
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Original Poster
Rep: Reputation: 37
Solved

Last edited by narz; 10-11-2016 at 12:11 AM.
 
Old 10-11-2016, 01:34 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,879
Blog Entries: 3

Rep: Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064Reputation: 3064
Yes, there are several ways to solve it. Which way did you choose?
 
Old 10-11-2016, 07:19 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,203

Rep: Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128
Quote:
Originally Posted by Turbocapitalist View Post
Yes, there are several ways to solve it. Which way did you choose?
After being nasty towards pan64, then deleting/editing their comments, I believe they just dumped everything. Writing a script using the tool provided by pan64 (which is what the OP originally asked for..a tool to get MD5 checksums), was apparently too much.
 
  


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] [BASH] comparing 2 files script czezz Programming 7 06-02-2016 07:09 AM
C program- comparing values of doubles from within two separate structs someone2088 Programming 6 12-16-2011 08:23 AM
[SOLVED] Comparing files in bash script brainlesseinstein Linux - Newbie 9 09-02-2010 12:41 PM
Need help with script comparing RPMs learnerlearner Programming 2 04-22-2009 10:30 PM
comparing 2 strings in shell script dhanabalanb Programming 3 08-01-2007 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration