Insert/Trim Rename
Typical use of these functions is to trim a string followed by inserting another. This is best used when renaming files of the same length. These modes are rather easy to comprehend and use.
These functions use the '{ }' characters to identify the mode. Care should be taken if any of the selected filenames contain one or both of the characters.
See Renaming Multiple Files for methods to invoke this function, other multiple file rename functions and error handling.
Notes:
Initiation
The Insert or Trim Rename function is initiated on selected file(s) by:
Upon initiation, the Rename button label changes to Rename Files when more than one file is selected. A rename edit field appears under the Rename Files button and extends to the right edge of the FS/2 window. The first file in the selected list is presented in the edit field as the template to modify. Note the names of the eight selected files and the template used in the example below:
Insert
The Insert Rename template consists of matched brackets, with the character(s) to be inserted between the brackets { }, located at the insertion point. Any character{s} outside the brackets will be retained. An inserted string may be of any length up to 64 characters - but must be at least one character. When the template is modified, the Rename Files button will turn green (signifying the name field has been edited). In the example below, the inserted characters are 'family_picnic_' and the extension is '.jpg'.
Insert
Rename Template
The Rename Files button will now be labeled "Insert Rename". Clicking it presents a Insert Rename Confirmation dialog window. It appears showing how the first file will be renamed in the Rename field and the template used is shown in the titlebar. Clicking the dialog Rename button will rename the files one at a time with each push. All selected files may be renamed in one step by clicking the Rename All button. The Skip button is pushed to skip the current file and the Edit button returns the mode to the edit field for further editing.
Insert
Rename Confirmation
In the example shown, the selected files are renamed as shown below:
Insert
Renamed Files
Trim
A Trim Rename operation removes a character string from the name segment. To trim a string of characters, replace the string with the closed {} brackets. In the example below, the characters "picnic_" will be trimmed (removed) from the name segment of all selected files. Characters outside the closed {} brackets will be retained. It is also possible to do a trim and replace operation in one step. A template of 'family_{party_}0008.jpg' would replace the 'picnic' with 'party' in each selected file.
Trim
Rename Template
The Rename Files button will now be labeled "Trim Rename". Clicking it presents a Trim Rename Confirmation It appears showing how the first file will be renamed in the Rename field and the template used is shown in the titlebar. Clicking the dialog Rename button will rename the files one at a time with each push. All selected files may be renamed in one step by clicking the Rename All button. The Skip button is pushed to skip the current file and the Edit button returns the mode to the edit field for further editing.
Trim
Rename Confirmation
In the example shown below, the selected files are renamed as shown below:
Trim
Rename Files