Source

hello / ruby / lsmd5.rb

1
2
3
4
5
6
7
8
#!/usr/bin/ruby

#a script that generates md5 checksum file *.md5 for all file in the directory

Dir.glob("*").each do | x | 
#	p x
	`md5sum #{x} > #{x}.md5`
end