in reply to HTML to SHTML to Accomodate SSI's
If you're on unix and have the standard find and rename utilities installed, this should work for you.
Though you should test it in a temporary directory first.% cd YourDocRoot % find . -name '*.html' -exec rename .html .shtml '{}' \;
Update: Here is a faster version using xargs
% find . -name '*.html' -print0 | xargs -0 rename .html .shtml
-Blake
|
---|
In Section
Seekers of Perl Wisdom