Batch File Rename: Rename multiple files according to flexible rules

Recommend this page to a friend!
  Info   View files View files (26)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 465 All time: 5,982 This week: 199Up
Version License PHP version Categories
batch-file-rename 1.0.29GNU Lesser Genera...5.1PHP 5, Files and Folders, Systems adm...
Description Author

This class can rename multiple files according to flexible rules.

It can traverse a directory to find files that match certain conditions that may include the file name extension, the file name length, the file size, a regular expression that matches the file name, or a given callback function to perform custom file matching evaluation.

The matched files can be renamed according to certain rules that can be adding prefixes or suffixes to the file names, adding sequence numbers, replacing certain character sequences, change the case of the file name, etc..

Picture of Mohamed Elkholy
Name: Mohamed Elkholy <contact>
Classes: 3 packages by
Country: Egypt Egypt
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Files folder imagedocs (11 files, 1 directory)
Files folder imageexamples (4 files)
Accessible without login Plain text file AUTHOR Data author copyrights
Accessible without login Plain text file LICENSE Lic. licence file
Accessible without login Plain text file VERSION Data version information

  Files folder image Files  /  src  
File Role Description
  Plain text file BatchFileRename.php Class the main BatchFileRename class
  Plain text file BatchFileRenameOptions.php Class the BatchFileRename options classes

  Files folder image Files  /  docs  
File Role Description
Files folder imagebatchfilerename (6 files)
  Accessible without login HTML file api-index.html Doc. documentation file
  Accessible without login HTML file api-overview.html Doc. documentation file
  Accessible without login HTML file api-tree.html Doc. documentation file
  Accessible without login HTML file config-options.html Doc. documentation file
  Accessible without login HTML file filename-variables.html Doc. documentation file
  Accessible without login HTML file fileset-filters.html Doc. documentation file
  Accessible without login HTML file index.html Doc. documentation file
  Accessible without login HTML file log-files.html Doc. documentation file
  Accessible without login HTML file renaming-rules.html Doc. documentation file
  Accessible without login HTML file stylesheet.css Doc. documentation css styles
  Accessible without login HTML file usage.html Doc. documentation file

  Files folder image Files  /  docs  /  batchfilerename  
File Role Description
  Accessible without login HTML file batchfilerename.html Doc. documentation file
  Accessible without login HTML file batchfilerenamefilenamevariables.html Doc. documentation file
  Accessible without login HTML file batchfilerenameoptions.html Doc. documentation file
  Accessible without login HTML file batchfilerenameoptionsbase.html Doc. documentation file
  Accessible without login HTML file batchfilerenameoptionsfileset.html Doc. documentation file
  Accessible without login HTML file batchfilerenameoptionsrenamerules.html Doc. documentation file

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file advanced.getID3.php Example demo file
  Accessible without login Plain text file simple.autoNumber.php Example demo file
  Accessible without login Plain text file simple.fixedFilename.php Example demo file
  Accessible without login Plain text file simple.prefix.php Example demo file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:465
This week:0
All time:5,982
This week:199Up

For more information send a message to info at phpclasses dot org.