find FILE OR REGEX -exec xzgrep -l "PATTERN OR REGEX" {} \;
Find the file, and then search, even compressed files.
for i in *.avi; do j=`echo $i | sed 's/find/replace/g'`; mv "$i" "$j"; done
From: http://snipplr.com/view/2736/