This short Bash script simply takes all the files from a directory, looks for their extensions, and checks those that are known archive extensions (that means rar, zip and gz at this time). It's useful to check integrity on old backup cds and that sort of thing.