You need to take an entire directory and all subfolders? Here's how. Throw this into a script and run it:
#!/bin/ksh
# Descend Current Directory unless target directory provided on command line
# Find all files with "tar.z" and uncompress and then tar extract them into current
# directory (or 2nd argument on command line)
PATH=/usr/local/bin:/usr/bin:/bin
SDIR="${1:-.}"
TDIR="${2:-.}"
find $SDIR -type f -name "*.tar.z" -print |
while read file; do
echo -n "Processing $file..."
if zcat $file | tar xfC - $TDIR ; then
echo "done"
else
echo "ERROR"
fi 2>extract.$$.log
done
if test -s extract.$$.log; then
echo "Errors:"
cat extract.$$.log
else
rm -f extract.$$.log
fi