jRename

Learn how to rename your file properly with jRename.

General use

Filename format option

  • lowercase : Changes the case of every letter to lowercase.
  • UPPERCASE : Changes the case of every letter to uppercase.
  • sWAP cASE : Swaps the case of every letter in the filename, extension include.
  • Capitalize Words : Adds a capital letter to every space separated word.
  • uncapitalize words : Removes captials from the words.
  • Trim output : Removes white space from both ends of the resulting filename.
  • Allow spaces : If selected, white spaces won't be removes.
  • Remove double spaces : Double spaces will be transformed into single space.
  • Remove (#)'s : Parenthesis and the information within will be removed from the resulting filename.
  • Remove extra periods (.) : All the periods but the last will be removed from the resulting filename.

Increment

  • Start : Defines the starting index of the increment.
  • Step : Defines the step between to indexes.
  • Min digits : Defines the minimum number of digits used for the increment. With 4 min digits and a step of 1 your increment sequence will be 0001, 0002, 0003, ...

Remove & replace

  • Remove all : Defines a list of forbiden character.
  • Replace all : Defines a list of character to replace with a single character.

Output format

Defines the resulting name for each matching file. You can use insertion of speciale informations :

  • %d : Insert the current day of the month.
  • %m : Insert the current month.
  • %y : Insert the current year.
  • %c : Insert the increment.
  • %f : Insert the original filename (extension excluded)
  • %e : Insert the extension.
  • %g0, %g1, ... : Insert captured groups.

Matching & capturing

Use a regular expression to filter the file to rename. Only matching filenames will be renamed. Non matching filenames are indicated with a red cross. Use parenthesis to capture parts of the original filename.

Regular expressions

Filtering file extensions

You can use regular expression to filter the file to rename by extension. for example, if you only wants to rename jpeg files, you can set the regular expression to match only ".jpg" and ".JPG" expression :

.*\.(JPG||jpg)

Capturing informations

Use parenthesis to captures informations from the original filename and put it in the resulting filename. Imagine you want to rename photos of your last trip to a more explicit filename. Your camera gives you a sequence of jpeg files as follows :

IMAG0123.JPG
IMAG0124.JPG
IMAG0125.JPG
...

You want them to be like that :

0001 - My trip to France 2009.jpg
0002 - My trip to France 2009.jpg
0003 - My trip to France 2009.jpg
...

You can use the increment to number your photo :

%c - My trip to France %y.%e

If you prefer you can use this regular expression to capture the numbering of your camera :

IMAG([0-9]+).JPG

And use this Output format string :

%g0 - My trip to France %y.jpg