LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-21-2004, 05:50 PM   #1
Ianmcc
LQ Newbie
 
Registered: Dec 2004
Location: Portsmouth, UK
Distribution: KNOPPIX
Posts: 2

Rep: Reputation: 0
md5sum progress indicator


hi just looking for any way to persuade md5sum to tell me how far through the file its checking. Ive made some automatic hard drive backup/restore scripts and need a progress indicator of some sort to say how far through the 5Gb or so image files the checker has got.

Ive seen programs like awesum and I'm going to look into them but I'd realy rather just have the raw data to make my own progress indicator arround that.

thanks in advance

Ian M
 
Old 12-21-2004, 06:00 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
md5sum doesn't have a lot of options and they probably don't expect anyone to sit around and watch for progress. I just go to the directory where the new iso images have been downloaded to and run the command: md5sum *.iso . Come back later....
I save the downloaded md5sum in a file called md5 and compare it to the results with the command: cat md5
 
Old 12-22-2004, 04:38 AM   #3
Ianmcc
LQ Newbie
 
Registered: Dec 2004
Location: Portsmouth, UK
Distribution: KNOPPIX
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the response. I'm not having any problems making and checking the files. But the application I'm writing needs a progress indicator as md5summing 5Gb of gzipped backup files takes a few minutes and the end users are wondering if its crashed or not (aparently a message telling them to wait isnt enough) any other ideas? I can happily go with a different checksum program if need be.
 
Old 02-04-2009, 02:50 PM   #4
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
I've recently had the same question; here's what you can do:

Code:
pv backup.tar.bz2 |md5sum
pv will output a nice progress bar to stderr.

(I know this is a very old thread; but I hope someone will find this useful.)
 
  


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
gui file copy progress indicator? zero79 Linux - Software 3 07-10-2005 02:00 AM
Loss of scp progress indicator when piping command to tee Arodef Linux - General 1 03-08-2005 09:01 PM
cp command with progress indicator exodist Linux - Software 1 07-21-2004 06:27 PM
bash: How can I create a progress indicator? apeekaboo Programming 5 06-27-2003 10:41 AM
Shell indicator. ultimator Linux - General 2 03-03-2003 06:21 AM


All times are GMT -5. The time now is 05:26 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