Mark G. Spencer wrote:
> Is it possible to MD5 all the items in a directory tree using Linux?  I
> am on a Redhat 7.3 workstation.  I have read the man and info file for
> MD5SUM and also tried to run it against a directory without success.  I
> get the error "Is a directory" which is very self explanatory.
> 
> So .. Is there another MD5 utility with more flexibility?  I basically
> need to MD5 every file individually in a large directory tree with the
> output redirected to a text file showing the path, filename, and hash of
> every file in that directory tree.

:jmglov@alhana; for i in /usr/bin/*; do md5sum $i >>my-md5sums.list; done
:jmglov@alhana; head my-md5sums.list
22882e3b02dc697034c4a5193aea2726  /usr/bin/[
7138d708a3963eae7def7d5061be7c80  /usr/bin/411toppm
d1bf3d8ee0c2dde0dc5f4a5a42e9493c  /usr/bin/4odb_clean
d976b6ba0139cacc8914b965bf73bc55  /usr/bin/4odb_clear
507af8c961edc4426e71a908c697a4af  /usr/bin/4odb_create
2866a647a399bab9e9c26b0f715b9029  /usr/bin/4odb_destroy
fa66f08813fcb7b47e350998552a1cfb  /usr/bin/4odb_dig
80ce182ead831ccb1536d1606c0f615d  /usr/bin/4odb_grant
650b67e6752e1463bf7d28439ef00880  /usr/bin/4odb_metadig
71f4ad46b5b6c8d9ee620d1fde641852  /usr/bin/4odb_odmsdump


Will that work?


-- 
Josh Glover <[EMAIL PROTECTED]>

Associate Systems Administrator
INCOGEN, Inc.

Reply via email to