simple one-liner for mass md5-summing

Andy Jack f.e.jack-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Jun 14 16:29:24 UTC 2004


On Mon, Jun 14, 2004 at 12:10:48PM -0400, Andy Jack wrote:
> under bash:
> 
> for F in file*.tar.gz do; md5sum $F > $F.md5; done

And of course I mangled the above simple statement, which will give you
a syntax error.

Properly:

for F in file*.tar.gz; do md5sum $F > $F.md5; done

(note semicolon placement)

Sorry 'bout that.
Andy
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list