I'm doing the hard-drive shuffle thing. I have a lot of data and I'm paranoid about losing it. I've been let down once or twice by bad copies so I thought I should take checksums before copying. I had a lot of fun arguing with wildcards and string escaping so I thought I'd share my adventure, as I've already worked out how to do this and forgotten at least once.
My first attempt. It dies when fed directories.
[code lang=bash]md5sum * | md5sums.txt
[/code]
I try again, and it occours to me to use tee in append mode so I get output to the screen as well




