View Single Post
  #5   (View Single Post)  
Old 27th July 2009
vermaden's Avatar
vermaden vermaden is offline
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053


~ % cat
#! /bin/sh

find ${1} -type f \
  | while read LINE
      MD5=$( md5 -q ${LINE} )
      FILE=$( basename ${LINE} )
      echo "${MD5} ${FILE}"

~ % ./ misc/sys/FreeBSD/
3d3991e7f828003c3abe0c7f1e48011a loader.conf
66ac143dc9e53b22df4fd77ae6fa01fa make.conf
01963f0ccdd17822c5ee210bba5df10f xorg.conf
085616e4fc95e7af3771deceab5171c3 sysctl.conf
~ % 
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote