Image - Sequentially Rename

Note: this facility cannot be used to change the file extension, and no '.', '/', '\' characters should be included in the name.

Note2: after performing a sequential rename the actual filenames of the images have been changed. If you exit ImageDB without saving changes to your database the stored names will no longer match the actual image file names and ImageDB will no longer be able to find those images. It is important to save the database after a sequential rename.

This option allows a selection of image indices to be automatically renamed. In its simplest form simply enter some text followed by a starting number and one or more +'s for the step size. However image date and time and the original index can also be inserted.

Generating a Simple Numeric Sequence
Enter a name in the form A...An...n+...+ (for example something like MyImages000++). The n...n is a number that will be the start number for the renaming. The number of +'s at the end indicates the step size. One + and the sequence will go up in steps of one, two +'s and it will go in steps of two and so on.

Examples: 
MyImages001++     will produce MyImages001, MyImages003, MyImages005 etc.
Holiday023+             will produce Holiday023, Holiday024, Holiday025 etc.

Control Characters
Special control characters preceded by the '%' character allow insertion of date, time and the original index into the text part of the renaming sequence. Note that the date is the date in the Image Properties date field not the image file date (if different).

Control Description
d The day
m The month as a number (note 'M' is minutes)
o The month as a short string: Jan, Feb...
O The month as a long string: January, February...
y The year - 2 digits: 00, 01...
Y The year - 4 digits: 2000, 2001...
H The hours
M The minutes (note 'm' is month)
S The seconds
i or I The current index

Example:
Given the control string of "%d %o %y %i" the new generated indices would be as follows

Original Index Date New Index
fred 21st January 2001 21 Jan 01 fred
joe 5th April 1999 05 Apr 99 joe
smith 20th August 2002 20 Aug 02 smith
bloggs 30 December 2003 30 Dec 03 bloggs

Automatically add numbers for duplicate indices
If doing sequential renaming using only control characters (as above but without the %i control for the original index) then it is very possible that duplicates may result. If this option is checked then such duplicates will automatically have a number added to the end beginning with 0000 then 0001 and so on. If there are duplicates and this option is not checked then it is quite possible that the renaming will not be possible if the duplicates are located in the same folder on the system.

 

2004 Focus Software Solutions www.focussoftware.co.uk