in reply to batch rename with a 1 liner

For a generic solution to this type of problem you can use Larry Wall's rename.pl script from chapter 9 of the Perl Cookbook-
#!/usr/bin/perl -w # rename - Larry's filename fixer $op = shift or die "Usage: rename expr [files]\n"; chomp(@ARGV = <STDIN>) unless @ARGV; for (@ARGV) { $was = $_; eval $op; die $@ if $@; rename($was,$_) unless $was eq $_; }
So for your example you would do rename.pl s/^new/U/ *.html *.shtml

--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho