PHP File Renamer (quickly rename all files, add prefix, postfix, replace words, uppercase, lowercase your files, etc.)

PHP File Renamer is FREE PHP script that allows you to easily rename many files. I wrote this script because I once had a problem when I needed to add prefix and lowercase many PHP files on my web server. When you run the script, the script traverses the directory specified and subdirectories(optional) searching for files and renaming them.

It's advanced file renamer, for example you can:

  • Uppercase/lowercase filenames, images, pictures
  • Add prefix, postfix to filenames
  • Replace words in filename
  • Rename all files ending with some extension (e.g .php, .pdf, jpg, bmp, png, etc.)
  • Rename files that have some word in their filename
  • PHP File Renamer is licensed under GPL license.

    BE CAREFUL! BECAUSE BAD CONFIGURATION CAN CHANGE FILENAMES YOU DO NOT WANT!

    BEFORE USING PHP FILE RENAMER BACKUP YOUR FILES!

    After you have downloaded PHP File Renamer, extract the contents in an empty folder.
    Open the file renamer.php and change the values marked to suit your needs.
    Save the file and upload it to your web server or development server(localhost).
    Run http://www.example.com/renamer.php (replace example.com with your url).
    It will report you how many file were renamed.

    I haven't had much time to play with it, so if you find a bug or just need help just post your question at the forums.

    Download it here