Welcome to WebmasterWorld Guest from 54.158.143.40

Forum Moderators: incrediBILL & lawman

Message Too Old, No Replies

Changing .htm to .php of 300 files on my HD in one click

Is it possible to change the extension of 300 files in one click?

   
11:18 pm on Feb 8, 2003 (gmt 0)

10+ Year Member



I need to change 300 files with extention .htm to .php on my HD. (I'm not talking about internal links), just the actual file name. Is there a way that I can do it in one click or do I have to do it one by one?
11:19 pm on Feb 8, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Are you on a *nix system?

Nick

12:30 am on Feb 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you own a Windows PC goto www.softbytelabs.com and download NameWiz, it's an amazing little program! (30 days free trial too)
12:41 am on Feb 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



*nix:
rename 's/htm$/[url=http://www.php.net/]PHP[/url]/' *.htm

Windows:
rename *.htm *.[url=http://www.php.net/]PHP[/url]
7:45 am on Feb 13, 2003 (gmt 0)

10+ Year Member



Thank you all for telling me about NameWiz :)