Hi! >--[Martin Fluch]--<fluch@rock.helsinki.fi> > A little bit bash programming... > for $i in *.html ; do mv "$i" "${i:0:${#tmp}-1}" ; done for $f in *.html; do mv $f ${f/.html/.htm}; done Requires a not too old bash. Beware of file names containing .html elsewhere than at the end... Yours, Rüdiger. -- http://www.ruediger-kuhlmann.de/