GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Mass Change Extensions Within a Folder? (https://gfy.com/showthread.php?t=1138058)

Nice_Nick 04-10-2014 09:02 AM

Mass Change Extensions Within a Folder?
 
Hey,

I have about 9000 Html files that I want changing to .php

How can I do this? I have advanced find and replace but I don't know it it can change extensions? Any idea?

wehateporn 04-10-2014 09:06 AM

in DOS

ren *.html *.php

Nice_Nick 04-10-2014 09:07 AM

Actually, thinking about it I could rewrite them in .htaccess? How would I do this?

Nice_Nick 04-10-2014 09:09 AM

Quote:

Originally Posted by wehateporn (Post 20044915)
in DOS

ren *.html *.php

Thanks but despite being born in the 70's I don't still work with 70's tech.

I know how to open dos but I presume that would rename every html file on my pc to php wouldn't it?
How do I restrict it to a folder.

iwantchixx 04-10-2014 09:44 AM

Try total commander http://www.ghisler.com/download.htm

Navigate to the folder, highlight by right-clicking (keep pressed) and dragging to highlight all you want renamed then press ctrl+m, change extension and then click "start"

Ps: this works for local folders as well as in ftp ( menu item "Net" then ftp connect)

Nice_Nick 04-10-2014 10:01 AM

Quote:

Originally Posted by iwantchixx (Post 20044982)
Try total commander http://www.ghisler.com/download.htm

Navigate to the folder, highlight by right-clicking (keep pressed) and dragging to highlight all you want renamed then press ctrl+m, change extension and then click "start"

Ps: this works for local folders as well as in ftp ( menu item "Net" then ftp connect)

Nice program, thanks it works well.


All times are GMT -7. The time now is 08:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123