Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: find help< Next Oldest | Next Newest >
b1ackmai1er Offline





Group: Members
Posts: 115
Joined: June 2005
Posted: Jan. 01 2008,06:41 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 01 2008,08:46 QUOTE

I think you just need to use md5sum (esp. the -r option)
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Jan. 01 2008,10:32 QUOTE

find . -exec md5sum '{}' > md5sums \ ;

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


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
2 replies since Jan. 01 2008,06:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: find help

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code