Mass Change Extensions Within a Folder?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nice_Nick
    So Fucking Banned
    • Mar 2014
    • 865

    #1

    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
    Promoting Debate on GFY
    • Apr 2007
    • 27176

    #2
    in DOS

    ren *.html *.php

    Comment

    • Nice_Nick
      So Fucking Banned
      • Mar 2014
      • 865

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

      Comment

      • Nice_Nick
        So Fucking Banned
        • Mar 2014
        • 865

        #4
        Originally posted by wehateporn
        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.

        Comment

        • iwantchixx
          Too lazy to set a custom title
          • Oct 2002
          • 12860

          #5
          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)

          Comment

          • Nice_Nick
            So Fucking Banned
            • Mar 2014
            • 865

            #6
            Originally posted by iwantchixx
            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.

            Comment

            Working...