The Main Screen

Bulk Rename Utility

The Main Screen

Top  Previous  Next

Once you launch the application the main screen is laid out in a similar way to Windows Explorer. Below the menu bar are two panes, the left of which is a tree view providing easy access to your system drives and folders. The right-hand pane is a list view of the files and folders contained within the currently selected branch of the tree shown over on the left.

 

Below the navigation panes are a series of controls. The controls are grouped together according to function - for example, all the facilities to remove text from a filename.

 

The rules used by the Bulk Rename Utility are processed in the order that the controls appear. i.e. from left to right.  For example, you can't convert case before performing a replacement. However, it maybe possible to achieve the desired results by using the Bulk Rename Utility multiple times on the same folders and files using different rules. Names are not actually changed until the "Rename" button is clicked, but you can always see a preview of the proposed filename in the New Name column. Note that this column is only updated for the files which are selected.

`

If you have any of the criteria set in such a way that it will affect the filenames (i.e. it contributes to the new filename) then the title of that grouping will be shown with a yellow background (assuming you haven't disabled this option on the Options menu), as shown below:

 

CriteriaHighlight

 

The controls at the bottom of the screen can be explained as follows:

 

Expression

 

This allows you to enter a regular expression match and replace. Regular Expressions are a complex subject (a 400-page book exists on the subject) - more details can be found here. If you are not using Regular Expressions then both of these fields must be left blank. Do not confuse these fields with the Replacements fields found elsewhere on the screen.

 

Filename - this allows you to manage the actual raw filename

 

Filename drop-down - This control has three options: Keep, Remove and Fixed.

·Keep will ensure that the original filename is not changed (default).
·Remove will completely erase the filename from the selected items.
·Fixed allows a new filename to be specified for all selected items. Only really useful if you're also using the Numbering section.
·Reverse allows you to reverse the name, e.g. 12345.txt becomes 54321.txt. Useful to somebody, I'm sure!

 

 

Replacements

 

This section consists of two controls. You must specify the text you wish to find, and the text you wish to replace it with. It is possible to find a text string and replace it with an empty string, or with a shorter string, or with a longer string. You may also specify whether or not you want the "find" processing to be case-sensitive. Note that the text is always replaced with the text you specify, including any specific text case.

 

 

- Allow the changing of case

 

Case drop-down - allows the capitalisation of file and/or folder names to be changed.

·Same - leaves the original capitalisation intact.
·Lower - converts all letters in the name(s) to lower-case.
·Upper - converts all letters in the name(s) into capitals.
·Title - converts all the words in the selected items to initial caps.  A word is generally defined as a string of letters proceeded by a space or a bracket. So "joe public.txt" would become "Joe Public.txt" but "joe-public.txt" would become "Joe-public.txt".
·

 

You can also enter a list of "exceptions", separated by colons. So for example if you entered PHP:ASP:doc then any occurrence of php or ASP (or pHP or aSp) would be converted to upper-case, and every occurrence of DOC (or DoC) would become doc.

 

 

Removals - Remove parts of a filename

 

This section consists of four separate facilities for removing parts of a filename. Note that these do not apply to the file extension, just the name.

·First n chars - Remove the first n characters from the name. E.g. removing the first 2 characters from "Joe Public.txt" will result in "e Public.txt"
·Last n chars - Remove the last n characters from the name. E.g. removing the last 2 characters from "Joe Public.txt" will result in "Joe Publ.txt"
·From n to n. This allows you to remove a string of text, e.g. from the 6th to the 9th characters.
·Chars - Remove occurrences of characters from the name. E.g. typing "QW:#" will result in all occurrences of Q, W, colon and hash being removed.
·Words - Remove occurrences of words (separated by spaces)
·Crop - Remove any text which occurs before (or after) a specific character or word. See below.
·Digits - Remove all occurrences of the digits 0-9 from the filename.
·Chars - Remove all characters
·Sym - Remove all symbols
·High - Remove high-ASCII characters (chars from 128 to 255)
·Trim - Remove leading and trailing spaces
·D/S - Remove occurrences of double spaces, and replace them with single spaces
·here.
·Lead Dots - remove the . or .. from the front of filenames (useful if you've copied from a Linux/Unix system).

 

When you use the "crop" option, you have the option of specifying a "special" value using the wildcard (*). This will remove the specified string, and any characters occupied by the wildcard. So for example, specifying [*] would convert "Hello[ABC] Joe" to just "Hello Joe", as it has removed the two square brackets and everything between.

 

 

Move/Copy - Move a section of text to a different place

 

This allows you to move (or copy) a fixed number of characters form one part of the string to another. You could do this with Regular Expressions of course, but this gives you an alternative. So for example, if all your filenames end with a unique 6-digit sequence code, and you'd rather have this at the start of the filename, then this is the simplest way to achieve it.

 

 

Additions - Add a fixed prefix or suffix to the filename, and certain Exif and ID3 tags

 

This allows you to add a fixed text string to the start of the filename, and also a fixed text string to the end of a filename. Useful for renaming MP3 files, where you can prefix all the filenames with the artist or album name. You can also insert a text string at any point in the filename.

 

If you are processing JPEG files, you can also extract certain EXIF tags. These are specified using substitution tags, which you key into the Prefix, Insert or Suffix boxes (box 7). The tags current available are:

 

%a - Aperture

 

%e - Exposure

%f - Focal Length

%xb - Exposure Bias

 

If you are processing MP3 files, you can also extract certain ID3 tags (n.b. only V1 and V1.1 ID3 tags are supported). These are specified using substitution tags, which you key into the Prefix, Insert or Suffix boxes (box 7). The tags current available are:

 

%r - Artist

%l - Album

%t - Title

%k - Track Number

 

 

You can also specify %z to include the file size (using the format currently specified on the Options menu)

 

You may also choose to add a "WordSpace". This will insert a space before any capital letter (except the first character), unless there's a space already there. So, the name "MyHoliday Photographs" would become "My Holiday Photographs".

 

Auto Date - Add various dates to the filename, in various formats

 

This allows you to prefix or suffix the filename with a variety of dates - the date that the file was created, modified, or accessed, and also with the current date. Useful for pictures! The date can be added in 9 different formats, some of which also include the modification time. You can also specify the characters you would like placed between the date/time and the existing filename (the Sep field) and the character to place between the different date/time segments (the Seg field). e.g. a format of DMY, with a Seg field of "-" would give a date of (for example) "25-01-03". The "Cent." flag is used to indicate whether or not you would the year to be represented with two digits or 4 digits.

 

You also have the option to specify your own custom date formats, and these are detailed here.

 

If you are also updating the file's Creation-date or Modified-date, then you can also choose the "Create (New)" and "Modified (New)" values, and these will equate to your new timestamps.

 

One of the dates you can use is "data taken". This is an EXIF flag which is often embedded in JPEG images which were created using a digital camera. The software will only get the flags from JPEG images (.JPG or .JPEG extension), not TIFFs. If no date is available then no date will be used. So for example, choosing to append the Date Taken for a .EXE file will simply append nothing.

 

 

Append Folder Name - Add the name of the containing folder(s)

 

This option allows you to append (or prepend) the name of the containing folder to the filename. So for example, if you had a file called "Dancers.jpg" in a folder called "Highland Show August 2003" then you could automatically rename the file "Highland Show August 2003 - Dancers.jpg". Useful if you have lots of folders, each containing the same group of files, and you want to merge all the files into a single folder.

 

 

 

You can also specify how many folders to append. So for example, if you had a picture called Cat.jpg in C:\Documents and Settings\Administrator\Pictures, and you chose 4 levels, then you might end up with

 

       C-Documents and Settings-Administrator-Pictures-Cat.jpg

 

The software will automatically remove the ":\" from the root (e.g C:\) as these two characters are illegal in filenames.

 

 

 

 

This allows you to sequentially number a group of files. Several criteria exist:

·Mode - specify whether you want the number to be appended to the start of the filename, or the end of the filename, or both.
·Start - Specify a starting number
·Increment - The number by which you want each filename number to be incremented.
·Pad - The minimum number of digits occupied by the numeric element. Bases 1-36 will be padded with leading zeros; the a-z and A-Z options will be padded with "a" or "A" as appropriate.
·Separator - A character or characters that you wish to be inserted between the filename and the number

 

A common scenario would be:

·Mode - Suffix
·Start - 1
·Increment - 1
·Pad - 4
·Separator - -

 

This would result in filenames with suffixes of -0001, -0002, -0003, -0004 etc.

 

You can choose to append the auto-number in any numeric base, from base 2 to base 36. e.g. a value of 26 in base 16 would be appended as 1A.

 

The final control in this section allows you to convert Roman Numerals to upper of lower case. For example, if you had a file called "Beethoven's niNTH syMPHONY part iii" You might want to use Title Case to format the filename, but this would mess up the "iii". Use this control to handle the Roman Numeral element. Note that the Utility identifies numerals when separates by a space character.

 

If you enter the special character ":" (colon) in the "Sep." box then this will be replaced with the autonumber at runtime. So a separator value of ABC:DEF: would result in ABC1DEF1, ABC2ABC2 etc.

 

There are two ways to get the autonumber value to reset. Firstly, if you tick the "Folder" box and you're processing subfolders, the autonumber will reset upon a change of subfolder. Clearly this is only really useful if the listing is sorted by the subfolder column! A second way is to enter a "break" value. This will cause the numbering to reset when the nnn character changes. e.g. enter 4  to cause the number to reset when the 4th character of the NEW name changes.

 

 

Extension - Allow the changing of case of the filename extension

 

Case drop-down

·Same - leaves the original capitalisation intact.
·Lower - converts all letters in the extension to lower-case.
·Upper - converts all letters in the extension into capitals.
·Title - converts all the words in the selected items to initial caps, e.g. Jpeg.
·Fixed - replace the extension with a fixed extension. For example, use this option to set all your files to ".doc" types.
·Extra - Add a secondary extension.  For example, change my.holiday to my.holiday.gif
·Remove - Remove any file extension. e.g. My.Holiday becomes My

 

 

Selections - which files or folders you are working on. This is known as the file mask. By default this will be all the files and folders in the current folder. Note that this section is only used to govern which files/folders are displayed. You still need to select

 

·Filter - specify a file-mask to use. Normally this would be *.*, or *.mp3, or *.doc etc. Note that this section is only used to govern which files/folders are displayed. You still need to select a file or folder in order to rename it. So for example, entering a filter of "*.mp3" means that only your MP3 music files will be shown. You can enter multiple file-masks by separating them with a space, e.g. "*.mp3 *.doc *.xls". Please note - changes to this field only take effect when you move the cursor to a different field or click a different control. This is to prevent the list from rebuilding with each keystroke as you type. You can also prefix a criteria with the exclamation mark (!) to perform a "not" expression. So "* !*.doc !*.mp3" will select everything except Word documets and MP3 files.
·Folders - include folders in the listing
·Files - include files in the listing.
·Subfolders - if the Subfolders option is checked, Bulk Rename Utility will process the contents of all sub-folders in the selected branch of the file hierarchy.  Care should be taken when using this feature as the utility can potentially list every file on your system
·Hidden - checking this box will mean that they will be processed. Important - you should be careful using this option as many Windows system files are hidden and renaming them could have a detrimental effect on the functionality of your system.
·Min. Len. - only files/folders whose names are greater than (or equal to) this length will be processed. Useful if you want to rename files greater than 64 characters for putting onto a CD, for example. NB This will exclude files and folders, if the file/folder name is shorter than the nominated length. However, in a recursive scan, sub-folders will still be scanned regardless of the length of the subfolder's name
·Max. Len. - only files/folders whose names are lesser than (or equal to) this length will be processed. Useful if you want to rename files greater than 64 characters for putting onto a CD, for example. NB This will exclude files and folders, if the file/folder name is shorter than the nominated length. However, in a recursive scan, sub-folders will still be scanned regardless of the length of the subfolder's name

 

New Location - This allows you to leave the original files intact, but create copies of the files (with new names, of course) in a separate folder. This option will honour the "Overwrite Target Files" menu option.

 

 

Command Buttons

 

·R - at the top of each group of controls there is a button entitled simply R. This will reset the criteria in that particular box.
·Checkbox - at the top of each group of controls there is a checkbox. This will enable or disable an entire "group" without wiping out your settings. Useful if you want to temporarily disable some criteria,
·Reset - Reset all your renaming criteria to the default values
·Revert - Reset all your renaming criteria to the values from your current Favourites file (if loaded).
·Rename - Actually perform the rename operation, using the criteria you have entered, on the files you have selected. You can always see the number of selected files in the utility's status bar. Note that this button is enabled once you have selected one or more files for renaming.

 

Zoom

Note that many of the text fields on the screen are quite small.  To allow for reasonable editing you can press F8 on these fields to display a new, larger window.