![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recursive FTP -- here at last. | Perderabo | Shell Programming and Scripting | 52 | 03-25-2009 12:15 PM |
| Check space utilization in recursive mode | sureshg_sampat | Shell Programming and Scripting | 1 | 06-02-2008 02:56 PM |
| recursive rcp | Nicol | Shell Programming and Scripting | 6 | 11-06-2003 11:52 AM |
| the file: MD5SUM | samprax | UNIX for Dummies Questions & Answers | 1 | 07-05-2002 04:30 AM |
| What is md5sum??? | solvman | UNIX for Dummies Questions & Answers | 1 | 09-25-2001 01:31 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
recursive md5sum check
so I have within my script a little md5sum check... Code:
find . ! -type d -print0 | xargs -0 md5sum And I want it to compare the generated values against a file so I'm trying... Code:
find . ! -type d -print0 | xargs -0 md5sum -c files.md5 I generated this file by redirecting the output of the first version to 'files.md5' but the second version gives me this error... Code:
usage: md5sum [-bv] [-c [file]] | [file...]
Generates or checks MD5 Message Digests
-c check message digests (default is generate)
-v verbose, print file names when checking
-b read files in binary mode
The input for -c should be the list of message digests and file names
that is printed on stdout by this program when it generates digests.
I wonder if I should be setting an array to equal the values and checking manually with a 'for x in @array' please let me know what you think. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|