for i in `ls *.html` do; \ mv $i `basename $i .html`.php \ done steve Phariss spoke forth with the blessed manuscript: > I am trying to replace all instances of .html to .php in multiple files > (same directory) I have tried a few of the sed command scripts I found > on the web, but they do not seem to be working. > > Thanks for any help with this simple problem :) > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss