Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.56 KB

rename-multiple-files.md

File metadata and controls

35 lines (25 loc) · 1.56 KB

Multiple files rename

Multiple file rename is only available in Ant Commander Pro file manager

How to rename files?

  • In a table with file, choose File -> Rename multiple files
  • Select the files you want to rename
  • If not files are selected, all listed files will be used
  • Just perform a find / replace for what you want to change in the files names
  • Note that file extension is not including in the rename, use File -> Rename extension for it

Advanced rename files

You can use regular expression with the Reg Exp button to perform for advanced rename.

Rename Find Replace Examples
Prefix files ^ prefix- image001.jpg -> prefix-image001.jpg
Suffix files $ -suffix image001.jpg -> image001-suffix.jpg
Groups ([a-zA-Z]+)(\d+) $1-$2 image001.jpg -> image-001.jpg

More about regular expression pattern here

Special replacement

  • %DIRNAME% Use the parent directory name
  • %DATE:yyyy-MM-dd-HH-mm.ss% Use the file last modified date/time in the name. See Date Time Patterns

Special changes

Use Special rename multiple files action to replace based on:

  • Truncate file name to a maximum number of character
  • Change the case of the file name (e.g. to lowercase)
  • Add a counter at the end of the file
  • Remove accents and diacritics in file names