Welcome to WebmasterWorld Guest from 54.167.46.29

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)

New User

10+ Year Member

joined:Jan 17, 2003
posts:31
votes: 0


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)

Senior Member

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

joined:Feb 4, 2002
posts:5044
votes: 0


Are you on a *nix system?

Nick

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 22, 2002
posts:959
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


*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)

New User

10+ Year Member

joined:Jan 17, 2003
posts:31
votes: 0


Thank you all for telling me about NameWiz :)