Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-10-2014, 09:02 AM   #1
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
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?
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2014, 09:06 AM   #2
wehateporn
Promoting Debate on GFY
 
wehateporn's Avatar
 
Industry Role:
Join Date: Apr 2007
Posts: 27,176
in DOS

ren *.html *.php
__________________
wehateporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2014, 09:07 AM   #3
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Actually, thinking about it I could rewrite them in .htaccess? How would I do this?
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2014, 09:09 AM   #4
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Quote:
Originally Posted by wehateporn View Post
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.
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2014, 09:44 AM   #5
iwantchixx
Too lazy to set a custom title
 
iwantchixx's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
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)
iwantchixx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2014, 10:01 AM   #6
Nice_Nick
So Fucking Banned
 
Industry Role:
Join Date: Mar 2014
Posts: 865
Quote:
Originally Posted by iwantchixx View Post
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.
Nice_Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.