find help


Forum: water cooler
Topic: find help
started by: b1ackmai1er

Posted by b1ackmai1er on Jan. 01 2008,06:41
I am trying to get an  md5 of all files.

find . -exec md5sum {} ;

gives an error,

exec needs an argument

Any ideas what I am doing wrong?

Thanks Phil

Posted by ^thehatsrule^ on Jan. 01 2008,08:46
I think you just need to use md5sum (esp. the -r option)
Posted by curaga on Jan. 01 2008,10:32
find . -exec md5sum '{}' > md5sums \ ;

The brackets and the ; are shell keywords, they need to be escaped for find

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.