Announcement

Collapse
No announcement yet.

How could I rename a ton of file extensions very quickly?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How could I rename a ton of file extensions very quickly?

    I am going to start doing this by hand in a few moments but if anyone knows a program that can rename all of my .html files to .php files, please tell me where I can get it.

  • #2
    In Windows:
    Code:
    rename *.html *.php
    In Linux (untested so back up):
    Code:
    mv *.html *.php
    --filburt1, vBulletin.org/vBulletinTemplates.com moderator
    Web Design Forums.net: vB Board of the Month
    vBulletin Mail System (vBMS): webmail for your forum users

    Comment


    • #3
      That's via a CMD prompt, right? And can you subject it to only one directory?

      Comment


      • #4
        Thanks. ^_^

        Comment


        • #5
          Originally posted by RixiuS
          That's via a CMD prompt, right? And can you subject it to only one directory?

          Last I recall you can, simply use a path such as:

          mv /home/user/public_html/*.html /home/user/public_html/*.php

          And vice-versa for the other, that would be specifing a specific and targeted directory. Always safe to backup regardless .

          Comment


          • #6
            Originally posted by RixiuS
            That's via a CMD prompt, right? And can you subject it to only one directory?
            It only works with one directory.

            (Unless you specify -R I think it is with mv)
            Motorsport Forums

            Comment


            • #7
              There are filerenamer tools that can do alot of tricks, not just the extension. One of them is File Renamer Ultra 2000, but there is a bunch of other both free and shareware.

              But in your caste its easier with the CMDprompt.

              Comment


              • #8
                Originally posted by SaintDog
                Last I recall you can, simply use a path such as:

                mv /home/user/public_html/*.html /home/user/public_html/*.php

                And vice-versa for the other, that would be specifing a specific and targeted directory. Always safe to backup regardless .
                And this works in windows XP?

                Anyway, I did it by hand. ^_^;;

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X