Examples
Find .rar files and use 7zip to test the rar archive and output to a log file with the results.
find . -name "*.rar" -type f \( -execdir pwd {} \; -exec ls -al {} \; -exec 7z t {} \; \)
Find .rar files and use rar to test the rar archive and output to a log file with the results.
find . -name "*.rar" -type f \( -execdir pwd {} \; -exec ls -al {} \; -exec rar t {} \; \) | tee rar_result.log
Find all rar files only within folders containing the word "success", case insensitive.
find . -ipath "*success*" -iname "*.rar" -type f \( -execdir pwd {} \; -exec ls -al {} \; -exec rar t {} \; \) | tee rar_result.log
Find folders with "archive" in the name and move to folder /raid/archive.
This will preserve the source folder structure under the destination folder (/raid/archive)
find . -type d -iname "*archive*" | xargs -I list mv list /raid/archive