Hi casper,
Is there something that this script isn't doing that would improve your day? For example, you could extend it to just report the directories that don't contain anything:
Code:
populated=$(ls /production/archive/production/web/docs/$i/docs/etc/etc_html/ | wc -w)
if [ "$populated" -eq "0" ]; then
echo "${i}: Population zero"
fi
Or, how about going further? If the server has access to a mail relay, you could get it to mail you when it finds an unpopulated directory. Run it from cron, and you could then avoid the need to run it manually every day.
On the other hand, if this script is already meeting your needs, why not think through other tedious regular tasks, and find one of those that could be scripted.
Of course, there are always different ways of doing something. Sometimes, though, the other ways are more... stupid than what you already have. If it ain't broke, don't fix it.