Advanced Renamer Commercial
Advanced Renamer Commercial
License
By using or installing any product bundled with this license, you agree to this license agreement.
If you do not want to agree to this license or if you don't understand it, you should stop using
and/or uninstall this software at once.
Personal use
You may use this software for personal home use free of charge. To support the project, you can
choose to buy a license for personal use.
Commercial use
A license must be obtained to use this software for commercial use. The license can be obtained
from the Advanced Renamer website and will cover lifetime use for one person. It is allowed to
try out the software for a limited time before a license is required.
Restrictions
You may NOT...
... use this software if you do not agree to this license agreement.
... remove this license from the software
... remove any other files from the software
... repackage the software in a different installer.
... modify, decompile, or disassemble the software.
... use this product for illegal use.
... sell this product without prior written permission with the purpose of gaining profit. It is
allowed to sell this product if the fee is only used for administration, shipping or other expenses
directly related to selling the software. It is also allowed to sell this product if it is a part of a
larger compilation of different software.
Warranty
You use this software at your own risk. The developers of this product take no responsibility for
1 - 55
any damage of any kind. The author of the software can change this license agreement at any
time without prior notice.
Privacy
Privacy terms can be found at https://www.advancedrenamer.com/user_guide/privacy. By
agreeing to these license terms, you also agree to the privacy terms.
Orders
Order process is conducted by the online reseller Paddle.com. Paddle.com is the Merchant of
Record for all orders. Paddle provides all customer service inquiries and handles returns.
Privacy
This document describes how user data is collected and used. The goal is to give easy to read
information about how data is used and how to either opt-in or opt-out.
Website
To post messages in the forum a user must create a user account. To create an account a user
must enter a valid name and email address. All values entered during user account creation,
except for email address and password, will be publicly available. To be deleted from this user
register, write to the email address listed under Support.
Any values supplied for user account creation, will not be used for marketing purposes and will
not be made available to any third party.
Purchase
The reseller Paddle.com will handle data collection during purchase. They may collect name,
email, and payment data during checkout. The data is collected for the purpose of purchase,
payment, and license key delivery and recovery. Name, email, and license key will be shared
2 - 55
between Advanced Renamer online services and Paddle.com.
Data supplied during checkout will not be used for marketing purposes.
Getting started
Here are some easy steps on how to get started renaming files in Advanced Renamer.
Add files
1. First you need to add some files to the list. Click the Add menu item above the file list.
2. In the drop down list pick Files and a dialog for opening files appear.
3. Select the files you would like to rename and click Open.
Tip: You can also drag and drop files or folders from Windows Explorer to Advanced Renamer.
1. Now you need to setup how the files should be renamed. This is done in the left part of
the program where it says Renaming method list.
2. Click the button Add method and select a method in the appearing window. We will be
using New name method in this example. With the New Name method you can construct
a completely new filename based on known information of each individual file.
3. In the box called New Name you can write the new name of the file. Type in
"MyFile_<Inc Nr:1>.<Ext>" (without the quotes).
4. If you look in the column called New Filename you can see the new filename each file
will have. As you see <Inc Nr:1> will be replaced with a incrementing number starting
from 1 and <Ext> will be replaced with the file extension.
Start renaming.
1. First verify the new names in the column New Filename. If the column is not visible you
can add it by clicking the Customize columns menu button.
2. Click the button Start Batch in the top of the window.
3. In the new window click Rename.
4. Now you will see a progress bar progressing as the files are renamed.
5. When it completes you are done and can click OK.
3 - 55
You can also read these examples of how you can setup Advanced Renamer in various scenarios:
Example 1 - Pictures
Example 2 - Downloaded files
Examples
The software can be very advanced and some tasks might be difficult to figure out how to do.
Below you will find common examples that might help you out.
Pictures
Downloaded files
Scripting
Downloaded files
Case: I have downloaded a bunch of files from the internet, but all the spaces are _ and all the
files ends with an unwanted suffix. The file name could be something like
the_x_tv_show_cooltvstation.avi.
Do the following:
4 - 55
10. In the text box Text To Be Replaced type_
11. In the text box Replace With type a space.
12. The new file names should now look something like this: the x tv show.avi
13. Click Add Method once again.
14. Select New Case Method and click OK.
15. Check the radio button Set Upper Case First Letter In Every Word.
16. Set Apply To to Name.
17. The new file names should now look something like this: The X Tv Show.avi
18. Verify the names in the list.
19. Click Start Batch.
What we did here was to use more than one method at the same time to produce the desired
result. When using more than one method you should make sure they are applied in the correct
order. You can move the methods up and down to change the order in which they are run.
Pictures
Case: I have taken a bunch of pictures with my digital camera and want to change the file names
from something like DSCF3028.jpg or something more useful with the date and time the picture
was taken in the file name of the picture.
Most digital cameras store information about the picture directly in the picture file when it is
taken. Advanced Renamer can use this information to give the file a name with the date and time
the picture was taken.
Do the following:
Tips: If you have taken more than one picture within a second this will not work because more
than one file will get the same name. To make it work you need to change the Name Collision
Rule to Append Incrementing Number or Append Img Subsec.
5 - 55
Scripting
I often get various questions at the forum for how to use the program and how to configure it for
various tasks. Sometimes the particular task is so complex and so specialized that the batch
methods supplied with Advanced Renamer cannot help the user. This is why I added JavaScript
support to the program and in the next paragraphs I will show you how it works.
6 - 55
Now for the actual item script. In the script we will use the global variable named odd setup in
the pre batch script, and use it to insert either A or B into the filename. Insert this script into the
editor:
statement is the line telling Advanced Renamer what the new filename of the item should be.
Notice that we return a complete filename including the extension. Most methods in the program
is by default configured to only work with the name part of the filename, but when it comes to
the scripting method, you need to return a complete filename including the extension.
This example is really simple. But to demonstrate the pre batch script I made it a bit more
complicated than necessary. Try to remove the pre batch script and instead use this script in the
script panel:
Notice how the last line is the same but the two first lines for calculating the str variable has
changed. This script will by using the index input parameter, produce the exact same result as the
previous script.
So what else can we do? By using the properties of the item object we can access all information
about the particular item available to the Advanced Renamer batch runner. If we also want to add
the image dimensions to the filename in the script we can use a script like this (assuming we are
renaming image files):
Any tag available to the program is also available in a script by using the parseTags methods of
the app global object. To add an incrementing number after the base name use this script:
The parseTags method will actually take a string containing both normal characters and tags, just
like the New Name method. The rule of thumb here is, if it works with New Name method it will
also work with app.parseTags.
What else can scripting method do? The answer is: Almost anything you want! It is a very
powerful way of customizing the application behavior, but it requires a much larger skill set than
the other methods of Advanced Renamer. For those who find the program too complicated, the
7 - 55
scripting method will only make it even more complicated. But for those who are already skilled
with programming or scripting skills, the scripting method can be of great help.
Add method.
If your filename is missing some words or
letters, use this method to add some extra to
your filename at a given position.
Add
Specify the text that should be added.
Note: You can use tags here.
At index
Use this to tell Advanced Renamer at what
position in the filename the text should be
added. If you want to add it to the
beginning of the file, set the index to 1. If
the index is longer than the filename, the
text will be added to the end. If the value is
non-numeric the index will be set to the
index of the pattern supplied.
Backwards
Use this to make Position count from the end of the filename. If you check this, set Apply To to
name and set Position to 1, the text will be added just before the last "." (the extension separator).
Apply To
Specifies if the change should be applied to the name, extension or both.
Attributes method
This is not a regular renaming method. It
does not change the filename. It only
8 - 55
changes the file attributes. You can change Archive, Read Only, Hidden or System, to
NoChange, Set or Unset.
This function can be useful when eg. copying files from a CD-ROM. When you copy files from
a CD-ROM, all the files will be read only. You can use this method to remove the read only
attribute of the files.
List method
This is a very simple method. There are no
fancy features in this method. To use it, you
have to type in the new filename of every
file in the list or load the new names from
some external source.
9 - 55
Works much like the replace method, but
with the ability to add multiple replace
pairs. This makes it easy to replace several
matches.
Case Sensitive
If this is checked, the words "hello" and
"Hello" are two different words. If you
want to replace the text no matter what case
they are in, leave this box unchecked.
Apply To
Specifies if the change should be applied to
the name, extension or both.
Move method.
Use the move method to move a number of characters from one position to another.
Move from
Specifies the index to move from. If the file
name is "my cool file name" and this value
is 4, the start index will be where the letter
"c" is.
Move count
The number of characters to be moved.
Move to
The position to move the characters to. If
10 - 55
the file name is "my cool file name" and move from is 4, move count is 5, and move to is 1, then
the file name will be "cool my file name".
Move relative
If checked, the value of move to will be relative to the value of move from.
Backwards
If checked, the move from is counted from the end of the filename instead of the beginning.
Apply to
Specifies which parts of the filename that should be included in the rename.
11 - 55
When using the "Set pattern to lower/upper case" option the pattern text box can be used to only
change the case of a part of the filename instead of the whole filename. If the use regular
expressions checkbox is checked you can also specify the pattern as a regular expression.
12 - 55
Use the New Name Method when you want
to completely alter the filenames. This
method is useful when you don't want to
use any parts of the filenames and give
them completely new names. Tags are used
to give each file or folder in the list a
unique name. Use the hyperlink buttons to
insert tags that gives certain information
about the files.
13 - 55
Patterns
If you want to save and load different
patterns for the New Name Method, you can
click the "..." button and the Pattern Dialog
will appear.
Remove method
If you want to remove some of the
characters of the filename, this is a good
method.
Remove
Specify how many characters that should be
removed. If non-numeric the value is used
as a search pattern.
14 - 55
Starting at
Specify the starting point of the removal. If non-numeric the value is used as a search pattern.
Backwards
When checked, the Start position will be calculated from the end of the filename.
Apply To
Specifies if the change should be applied to the name, extension or both.
Note: If you want to remove certain characters or words (like all "a"s), use the replace method
instead.
15 - 55
Renumber method
This method can be used to change existing
numbers in file names. You cannot use this
method to add new numbers, for that use the
New Name or Add method.
Number position
This field decides which number in the
filename you want to change. If the
filename is "File_004_A_202.txt" and you
set it to 2 it is the number 202 that will get
changed.
Change to
The change to drop down box is used to
switch between the two renumbering
modes.
Absolute number is used when you want to
completely renumber the files at a given
start number. The New Number field
decides the number for the first file.
Relative number is used when you want to
add or subtract a value from the existing
number. This can be handy if you have a
sequence of files with gaps between some of
the numbers and you want to preserve this
gap. This is commonly used when a
sequence starts at 0 and you want to change it to start at 1 instead.
Zero padding
Is used to control the padding of zeros in the new number.
Automatic (the default) will calculate the maximum length of the number and set the padding
16 - 55
length based on this length.
When Manual is used you can use the Number Length field to specify a minimum length of the
numbers.
No Padding will not add zeros to the front of the number.
Apply to
Use the apply to drop down box to tell the method in which part of the filename it should look
for numbers. Can be set to Name (default), Extension, or Both.
Replace method
If you want to remove some words or letters
from the filename and replace them with
something else, you can use this method.
Just type in the text you want to be replaced
and the text it should be replaced with. This
method can also be used to remove specific
phrases. To do so just leave the box Replace
With blank.
Text to be replaced
This is the text that will be replaced. If you
want to replace more than one phrase, you
can separate the different phrases with \.
Note: You can use tags here.
Replace it with
Specify what the text in the previous box
should be replaced with. If you want to
remove the words and not replace them
with something else, then leave this box
blank.
Note: You can use tags here.
Case Sensitive
If this is checked, the words "hello" and
"Hello" are two different words. If you want to replace the text no matter what case they are in,
leave this box unchecked.
17 - 55
Apply To
Specifies if the change should be applied to the name, extension or both.
Script method
The script method is probably the most
advanced feature of Advanced Renamer.
With this method a JavaScript experienced
user can extend Advanced Renamer by
writing custom methods right in the
program. As with any method, the script
method can be saved and opened by any
other user on any other computer. Write the
script in the text box and click Apply Script
to see the result in the file list. The Pre
Batch Script button can be used to setup
prebatch variables.
Important resources:
JavaScript Reference
JavaScript Guide
How to use
The script in the method panel will get
executed once for every file or folder in the
list in the order the files are sorted in the
list. The parameter "index" contains the
number the item in the list has. The
parameter "item" is an object representing
an item in the list and contains every piece
of information Advanced Renamer knows
about this file or folder. The information
can be used to create a new filename which
will be set by returning the new filename.
Remember the new filename must contain the extension of the file.
18 - 55
app.currentIndex [readonly] The index of the currently processed item in the list.
app.currentItem [readonly] The currently processed item in the list.
app.exifToolValue(tag): string Returns the value of the specified tag from the ExifTool.
app.getItem(index) Returns the item at the specified index.
app.itemCount [readonly] The number of items in the list.
Writes a message to the log. To see the log messages,
app.log(message) open the JS console through the button in the main
toolbar.
app.logItem(item) Writes a message to the log containing the item.
app.parseTags(tabs): string Parses the specified string for tags and returns the result.
app.prevItem [readonly] The previous item in the list.
Swap method
The Swap method can swap two parts of a
filename divided by a separator. The
method can be useful when you want to
change "Michael Jackson - Thriller.mp3" to
"Thriller - Michael Jackson.mp3".
Separator
The separator used to divide the two parts of
the filename. Everything on either side will
get swapped.
Occurence
If the separator exists more than once in the
filename you can use this control to define
which occurence of the divider to use when swapping.
Timestamp method
19 - 55
With the timestamp method you can change
the date and time of the filename. You can
either change it to a fixed date/time, a
date/time relative to the current date/time of
the file, date/time from EXIF tags in
images, or a pattern in the filename.
Apply to
A file contains three different date/time
values. One for when the file was originally
created, one for when it was last access, and
one for when it was last modified. Use these
checkboxes to select which date/time values
you want to change. You can check more
than one of them, but at least one has to be
selected.
Example: If you have a filename with year, month, and day values in the name and you want to
set the file date to this date and the filename is "Summer at the lake 2011-04-01.jpg" the pattern
<Year>-<Month>-<Day> will automatically retrieve the date.
Regular tags can also be used in the pattern, but note that the six date and time tags have special
meaning here.
20 - 55
Day / Month / Year / Hour / Min / Sec
When absolute or relative date/time is checked you can specify individual time parts in these six
fields. If Delta Date and Time is checked, these values are either added to or subtracted from the
file date/time. If you type 1 in Hour, 1 hour is added to the date/time and if you type -1, 1 hour is
subtracted from the date/time.
Trim method
Use this method to remove unwanted
spaces, dashes, and other unwanted
characters from the beginning and end of
the filename. Sometimes when using many
methods, you end up with too many spaces
in either end of the filename. To avoid this,
use this method.
Default tags
Will insert an increasing number
starting with X and up. X can be any
number value. If you have e.g. 200
files in the list, the program will add
leading zeros to all files below 100
like this 001, 002, 003 etc. If you
don't want leading zeros you can
turn them off in Settings Dialog. To
<Inc
force a certain number of zeros, set
Nr:x:y
the value of X like this 001 for a
>
number length of 3.
Default value for X is 1.
21 - 55
The behaviour of the optional parameter Y is the same as the parameter Y for the
<Inc Nr> tag.
Will insert an increasing letter starting with X and up. X can be any letter value.
If you use a small letter, it will use small letters in all the files and big letters if
you use a big on.
<Inc Note: This function can only go up to Z. If you have more files, an error will
Alpha:x:y> occur.
Default value for X is A.
The behaviour of the optional parameter Y is the same as the parameter Y for the
<Inc Nr> tag.
Inserts the original name of the file. Not the path and not the extension, only the
<Name> name. e.g. if you have a file called "c:\windows\notepad.exe", this command's
result will only be "notepad".
Will insert the original files extension. Notice that this tag does not include the
<Ext> ".". e.g. if you have a file called "c:\windows\notepad.exe", the result of <Ext>
will be "exe".
Inserts the last directory name. eg. "c:\windows\notepad.exe" will give
"windows" as result.
If X is a numeric value that value will be used to select a folder name in the
sequence from the right part of the path. If using a negative number for X the
folder name is selected from the left to right..
<DirName:x>
<Dirname:3> for "c:\programs\games\new\mine sweeper\highscore\file.txt" will
yield "new"
<Dirname:4> for "c:\programs\games\new\mine sweeper\highscore\file.txt" will
yield "games"
<Dirname:-1> for "c:\programs\games\new\mine sweeper\highscore\file.txt" will
yield "programs"
This will insert a number telling how many files there is in the directory where
the file is located.
<Num Like the <Inc Nr>, this function is zero padded. To manually override the zero
Files:x> padding, use the x parameter, xxx will zero pad to 3 digits. New in version 3.92
22 - 55
Will insert a word from the filename index by X. <Word:3> will insert the third
word of the filename. Word are separated by values present in the word separator
<Word:x>
text field in the settings dialog.
Default value for X is 1.
Advanced tags
This is more advanced tags for the more advanced users because they are more difficult to use.
Insert value from the external program ExifTool. VALUE is the name of
<ExifTool:value>
the ExifTool tag to be used.
Will insert a part of the original filename into the new name. The POS and
COUNT parameters are used to define what part of the filename that will
get copyed.
Example of use: <Substr:5:2> will return "wa" for the filename "The
walking man.txt".
The parameters don't have to be numeric indexes, they can also be text
strings to search for in the filename.
Example of use: <Substr:ki:an> will return "ng m" for "The walking
<Substr
man.txt".
:pos:count:start>
The following will yield the same result: <Substr:ki:4>
In the rare cases where you actually want to search for a number in the
filename you can put the search term in quotes.
Example of use: <Substr:"2":2> will return "nd" for "The 2nd door.txt".
The optional START parameter will define where to start searching the
name.
Example of use: <Subtr:".":5:3> will return "Story" for "A.Cool.Story.txt"
Works exactly as the <Substr> tag but searches the string backwards.
<RSubstr
:pos:count:start>
Example of use <RSubstr:2:3> for "A cool baby" will return "bab"
When data has been imported with the "Import data from CSV"
functionality in the Import menu, the values can be used with this tag. The
X is a numeric value representing the column index with the first column
<Csv:x>
having numeric value 1.
23 - 55
If FILENAME is specified it must be quoted with ".
Examples of use:
<File Content:46:12:"c:\program files\files\myfile.txt">
<File Content:56:9>
Datetime tags
Inserts the value belonging to the tag based on the computers local time and date. They are very
self-explained. Remember that these values are calculated at start of rename and not when the
file is actually renamed. All tags except <Year> have a length of two characters at all time.
24 - 55
s: Second
ss: 2 digit second with leading zero
<Time:format>
<Sec>
<Min>
<Hour>
<Day>
The optional parameter can be used to specify another format than the
standard leading zeros format.
<Date Created:format>
See <Date> tag for a description of the parameter.
<Time Created:format>
<Sec Created>
<Min Created>
<Hour Created>
<Day Created>
<Month Created:x> See <Month> tag for a description of the parameter.
<Year Created:x> See <Year> tag for a description of the parameter.
<UnixTimestamp Created>
<Date Modified:format>
See <Date> tag for a description of the parameter.
<Time Modified:format>
<Sec Modified>
<Min Modified>
<Hour Modified>
<Day Modified>
<Month Modified:x> See <Month> tag for a description of the parameter.
<Year Modified:x> See <Year> tag for a description of the parameter.
<UnixTimestamp Modified>
Image tags
These tags only work on a selected amount of image files. Some tags, like the width and height,
work on most images, other tags like Author and Copyright needs valid Exif information
embedded in the image files. Also note that not all tags are supported by all cameras.
<Img Year:x>
Use these tags to insert date and time values for the date the picture
<Img Month:x>
was taken.
<Img Day>
<Img Hour>
See <Month> tag for a description of the parameter for the <Img
<Img Min>
Month> tag.
<Img Sec>
Will insert the subsecond part of the EXIF information. This value is
<Img Subsec> not always present in jpeg files but some cameras will add this value
when taking pictures in burst mode.
<Img
DateOriginal:format>
<Img
DateCreate:format>
See <Date> tag for a description of the parameter.
<Img
TimeOriginal:format>
<Img
TimeCreate:format>
<Img DPI> Inserts the image resolution as dots per inch.
<Img Width> Inserts the image width if possible.
<Img Height> Inserts the image height if possible.
26 - 55
<Img Width Inch>
<Img height Inch These tags are special width/height tags for adding the width or height
<Img Width Cm> in inches, centimeters, or millimeters to the filename. The width and
<Img Height Cm> height in pixels are used with the DPI resolution embedded in metadata
<Img Width Mm> in the file. If no DPI-value is present 72 is used as a default.
<Img Height Mm>
<Img Author> Inserts the Author value of the EXIF-information of the image.
<Img Copyright> Inserts the Copyright value of the EXIF-information of the image.
<Img CameraMake> Name of camera vendor (Canon, Nikon, Sony etc.)
<Img CameraModel> Name of camera model (EOS60D, D7000, Alpha A 550)
<Img Subject> Inserts the Subject value of the EXIF-information of the image.
<Img Title> Inserts the Title value of the EXIF-information of the image.
<Img Aperture>
<Img Brightness>
<Img FocalLength>
<Img ISO>
<Img ShutterSpeed>
<Img ExposureTime>
<Img Contrast> Resulting values can be: Soft, Normal, Hard
Resulting values can be: Auto exposure, Manual exposure, Auth
<Img ExposureMode>
bracket
Resulting values can be: Not defined, Manual, Normal program,
<Img
Aperture priority, Shutter speed, Creative program, Action program,
ExposureProgram>
Portrait mode, Landscape mode
<Img Saturation> Resulting values can be: Low, Normal, High
<Img Sharpness> Resulting values can be: Soft, Normal, Hard
<Img WhiteBalance> Resulting values can be: Auto, Manual
Video tags
Video tags can be used to extract information from video and movie files. Note, not all video
types and codecs are supported.
27 - 55
<Video Date
Month:x>
<Video Date Day>
See <Month> tag for a description of the parameter for the <Video Date
<Video Date Hour>
Month> tag.
<Video Date Min>
<Video Date Sec>
<Video Duration> The total duration of the video formatted in hours, minutes, and seconds
The hour time part of the video duration. Use parameter to control zero
<Video Hour>
padding: <Video Hour:0>
The minute time part of the video duration. Use parameter to control zero
<Video Min>
padding: <Video Min:0>
The second time part of the video duration. Use parameter to control zero
<Video Sec>
padding: <Video Sec:0>
<Video Codec> The video codec used to encode the video (DivX, XviD).
<Video Audio
Audio codec used to encode the audio in the video file (AC, MP3).
Codec>
<Bitrate> Bitrate of both video and audio combined.
<Video Bitrate> Bitrate of the video part of the file.
<Video Audio
Bitrate of the audio part of the file.
Bitrate>
Document tags
Tags used for document-based files. Documents include PDF, Word and PowerPoint
presentation.
<Doc
The number of pages in the document or the number of slides in a presentation.
Pages:x>
Use the parameter to zero pad the output <Pages:xxx> will result in numbers with
New in
a minimum length of 3. No parameter will not pad the number with zeros.
version 3.92
<Doc
Creator>
Document creator, if available.
New in
version 3.92
<Doc Title>
New in Document title from metadata, if available.
version 3.92
ID3 tags
28 - 55
These tags only work on MP3 files with an ID3 Tag. These tags will insert the ID3 Tag into the
filename. If a file contains both ID3v1 and ID3v2, only one of them is used. Use the Settings
Dialog to change in which order Advanced Renamer should look for these tags.
Note: If the tag consists of letters that are not allowed in a filename, they are replaced with "_".
It can be changed in the Settings Dialog.
<ID3 Album>
<ID3 Artist>
<ID3 Genre>
<ID3 Title>
<ID3 Track>
<Bitrate>
<Duration> Formattet duration of the audio playtime, like this: 7mins, 4secs
<ID3 Album>
The hour time part of the audio duration. Use parameter to control zero padding:
<ID3 Hour>
<ID3 Hour:0>
The minute time part of the audio duration. Use parameter to control zero
<ID3 Min>
padding: <ID3 Min:0>
The second time part of the audio duration. Use parameter to control zero
<ID3 Sec>
padding: <ID3 Sec:0>
The Country, City, and State tags use the GPS coordinates to lookup a textual representation of
where the picture was taken in an online database containing more than 100,000 cities. A
functioning internet connection is needed to use this functionality. When using the City tag the
closest city with a population of at least 1000 people will be used.
Please note that the accuracy of the GPS position might be a little off. This is because it can take
some time for the camera to find the GPS satellites and measure the exact location. The accuracy
is not very important when using the City, State, and Country tags.
<GPS
The country in which the picture was taken.
Country>
<GPS City> The nearest city to where the picture was taken.
The state in which the picture was taken. For countries outside the US this value
<GPS State>
might be blank or contain a region instead.
<GPS Lat> The GPS latitude as a decimal number with four significant decimals.
<GPS Lat The degrees of the latitude.
29 - 55
Deg>
<GPS Lat
The minutes of the latitude.
Min>
<GPS Lat
The seconds of the latitude.
Sec>
<GPS Lat
The latitude direction. Posible values are N and S.
Dir>
<GPS Lng> The GPS longitude as a decimal number with four significant decimals.
<GPS Lng
The degrees of the longitude.
Deg>
<GPS Lng
The minutes of the longitude.
Min>
<GPS Lng
The seconds of the longitude.
Sec>
<GPS Lng
The longitude direction. Posible values are W and E.
Dir>
<GPS Alt> GPS altitude.
The X parameter is used to specify zero padding of the value. <Filesize Kb:xxx> will result in a
value of minimum 3 digits. New in version 3.92
Checksum tags
Calculation of file checksum. Checksum values can be used to verify the contents of a file and
avoid corruption.
30 - 55
Batch modes
Advanced Renamer was initially made for the purpose of mass
renaming files and folders. From version 3.0 it is also possible to
move and copy files using the same naming technology. The batch
mode drop down box is located above the files. When copy or move
mode is selected a edit field will appear to the right. This field is used
to specify the output folder. The clever part is that tags known from
renaming methods can also be used here. Any non existing folder part
will be created when the file is moved or copied.
Example of use:
When the pattern below is used all the files will be located in a folder
based on when the file was initially created.
Columns
When you right click the column header, a popup menu will appear. In
that menu, you can choose which columns you want shown.
Note: The column Name cannot be removed.
If you want the columns to be shown in a different order, you can drag
the column headers to new positions. All columns, except for the
Name column, can be dragged.
You can also sort the content of the columns by clicking on them. If
you click one more time, it will sort in reverse order.
Note: Not all columns can be sorted.
Note: When you add new files, the new files will not be sorted
automatically.
31 - 55
The columns can be dragged when there are no files in the list and when there are files in the list.
But it is recommended to set up the columns before adding files to gain higher performance.
If you click the Customize item in the list, you will see the Customize Columns Dialog (shown
below). You can use this dialog for easier control of the columns. Using this dialog will also
increase the performance of column settings.
Use the checkboxes in the Columns List to set whether the column should be shown or not. Use
the 4 buttons (Top, Up, Down, Bottom) to move the items.
Note: The column Name cannot be moved.
To the left you can choose between different predefined column sets. Click one and the settings
for that column set will be shown in the Columns List.
Command
line
automation
If you need to perform
batches by automatically,
like in a server
environment, you can use
the command line
automation tool. The tool
can be used to perform a
batch defined by a
previously saved batch
method file.
32 - 55
In the Advanced Renamer folder you will find the file arenc.exe Start a shell and run the
arenc.exe with the -h switch to get additional information.
ExifTool
33 - 55
ExifTool is a program by Phil
Harvey (exiftool.org) distributed
with Advanced Renamer to create
support for more file formats like
raw camera files, documents, zip
files etc. ExifTool supports both
more formats and more tags which
can be used to mass rename files
through Advanced Renamer.
34 - 55
Hasselblad RAW
3FR
3rd Gen. Partnership Project 2
3G2, 3GP2
audio/video
3rd Gen. Partnership Project
3GP, 3GPP
audio/video
American College of Radiology ACR-
ACR
NEMA
Adobe [Composite/Multiple Master]
AFM, ACFM, AMFM
Font Metrics
AI, AIT Adobe Illustrator [Template]
Audio Interchange File Format
AIFF, AIF, AIFC
[Compressed]
APE Monkey's Audio
ARW Sony Alpha RAW
ASF Microsoft Advanced Systems Format
AVI Audio Video Interleaved
Windows BitMaP / Device
BMP, DIB
Independent Bitmap
BTF, TIFF, TIF BigTIFF
CHM Microsoft Compiled HTML format
COS Capture One Settings
CR2 Canon RAW 2
35 - 55
Canon RAW Camera Image File
CRW, CIFF
Format
CS1 Sinar CaptureShop 1-shot RAW
DICOM - Digital Imaging and
DCM, DC3, DIC, DICM
Communications in Medicine
DCP DNG Camera Profile
DCR Kodak Digital Camera RAW
DFONT Macintosh Data Fork Font
DIVX DivX media format
DJVU, DJV DjVu image
DNG Digital Negative
DOC, DOT Microsoft Word Document/Template
Office Open XML Document [Macro-
DOCX, DOCM
enabled]
Office Open XML Document
DOTX, DOTM
Template [Macro-enabled]
Mac OS X Mach-O executable and
DYLIB
library files
DV Digital Video
DVB Digital Video Broadcasting
EIP Capture One Enhanced Image Package
EPS, EPSF, PS [Encapsulated] PostScript Format
ERF Epson RAW Format
DOS/Windows executable and library
EXE, DLL
files
Exchangable Image File Format
EXIF
metadata
EXR Open EXR
F4A, F4B, F4P, F4V Adobe Flash Player 9+ Audio/Video
FFF Hasselblad Flexible File Format
FLA Macromedia/Adobe Flash project
FLAC Free Lossless Audio Codec
FLV Flash Video
FPX FlashPix image
Compuserve Graphics Interchange
GIF
Format
GZ, GZIP GNU ZIP compressed archive
HDP, WDP Windows HD Photo / Media Photo
Radiance RGBE High Dynamic-
HDR
Range
[Extensible] HyperText Markup
HTML, HTM, XHTML
Language
ICC, ICM International Color Consortium color
36 - 55
profile
IDML Adobe InDesign Markup Language
Phase One Intelligent Image Quality
IIQ
RAW
IND, INDD, INDT Adobe InDesign Document/Template
INX Adobe InDesign Interchange
ITC iTunes Cover Flow artwork
J2C, JPC JPEG 2000 codestream
JPEG 2000 image
JP2, JPF, J2K, JPM, JPX
[Compound/Extended]
Joint Photographic Experts Group
JPEG, JPG
image
K25 Kodak DC25 RAW
KDC Kodak Digital Camera RAW
Apple iWork '09 Keynote
KEY, KTH
presentation/Theme
LA Lossless Audio
LNK Microsoft Shell Link
M2TS, MTS, M2T, TS MPEG-2 Transport Stream
M4A, M4B, M4P, M4V MPEG-4 Audio/Video
MEF Mamiya Electronic Format
MIE Meta Information Encapsulation
MIFF, MIF Magick Image File Format
MKA, MKV, MKS Matroska Audio/Video/Subtitle
MOS Creo Leaf Mosaic
MOV, QT Apple QuickTime Movie
MP3 MPEG-1 layer 3 audio
Motion Picture Experts Group version
MP4
4
MPC Musepack Audio
Motion Picture Experts Group version
MPEG, MPG, M2V
1 or 2
MPO Extended Multi-Picture format
MQV Sony Mobile QuickTime Video
MRW Minolta RAW
MXF Material Exchange Format
NEF Nikon Electronic Format
NMBTEMPLATE Apple iWork '09 Numbers Template
NRW Nikon RAW
NUMBERS Apple iWork '09 Numbers spreadsheet
Open Document
ODB, ODC, ODF, ODG,
Database/Chart/Formula/Graphics/
ODI, ODP, ODS, ODT
Image/Presentation/Spreadsheet/Text
37 - 55
OFR OptimFROG audio
OGG, OGV Ogg bitstream container
ORF Olympus RAW Format
OTF Open Type Font
Lossless Predictive Audio
PAC
Compression
PAGES Apple iWork '09 Pages document
PCD Kodak Photo CD Image Pac
PDF Adobe Portable Document Format
PEF Pentax Electronic Format
PFA, PFB PostScript Font ASCII/Binary
PFM Printer Font Metrics
PGF Progressive Graphics File
PICT, PCT Apple Picture file
PMP Sony DSC-F1 Cyber-Shot image
Portable/JPEG/Multiple-image
PNG, JNG, MNG
Network Graphics
PPM, PBM, PGM Portable Pixel/Bit/Gray Map
Microsoft PowerPoint
PPT, PPS, POT
Presentation/Slideshow/Template
Office Open XML Presentation
POTX, POTM
Template [Macro-enabled]
Office Open XML Presentation
PPSX, PPSM
Slideshow [Macro-enabled]
Office Open XML Presentation
PPTX, PPTM
[Macro-enabled]
PSD, PSB PhotoShop Drawing / Large Document
PSP, PSPIMAGE Paint Shop Pro
QTIF, QTI, QIF QuickTime Image File
RA Real Audio
RAF FujiFilm RAW Format
RAM, RPM Real Audio/Plug-in Metafile
RAR RAR Archive
RAW Kyocera Contax N Digital RAW
RAW Panasonic RAW
RIFF, RIF Resource Interchange File Format
RM, RV, RMVB Real Media/Video [Variable Bitrate]
RSRC Mac OS Resource
RTF Rich Text Format
RW2 Panasonic RAW 2
RWL Leica RAW
RWZ Rawzor compressed image
38 - 55
Unix ELF executable and Shared
SO
Object files
SR2 Sony RAW 2
SRF Sony RAW Format
SRW Samsung RAW format
SVG Scalable Vector Graphics
SWF Shockwave Flash
THM Canon Thumbnail
THMX Office Open XML Theme
TIFF, TIF Tagged Image File Format
TTF, TTC True Type Font/Collection
VOB Video Object
VRD Canon DPP Recipe Data
VSD Microsoft Visio Drawing
WAV Windows digital audio WAVeform
WEBM Google Web Movie
WEBP Google Web Picture
WMA, WMV Windows Media Audio/Video
WV WavePack lossless audio
X3F Sigma/Foveon RAW
XCF GIMP native image format
XLS, XLT Microsoft Excel Spreadsheet/Template
Office Open XML Spreadsheet
XLSX, XLSM, XLSB
[Macro-enabled/Binary]
Office Open XML Spreadsheet
XLTX, XLTM
Template [Macro-enabled]
Extensible Metadata Platform sidecar
XMP
file
ZIP ZIP archive
39 - 55
File pairs
In the settings dialog you can activate
file pair renaming. This will make sure
file pairs will keep being paired
together.
40 - 55
Img_2000x1000_002.txt
Note, the media file must be located before the paired file in the list.
Hotkeys
F1 Show this user guide
F2 Override new filename of selected items
F5 Refresh the list
F9 Start batch
Del Remove the selected file(s) from the list
Ins Add file(s) to the list
Ctrl + Alt + Up Move selected file(s) up
Ctrl + Alt + Down Move selected file(s) down
Metadata write
You can use the metadata write functionality to change existing metadata of files. Select
Metadata in the menu and you will see the window below. Choose the tag to change and fill in
the value of "New value". When finished click "Start batch".
If all files should have the same value, you can click the action button and click "Copy value to
all".
Note! You can only change metadata fields, like Exif metadata, that already have values. You
cannot add new fields. It is recommended to backup all the files prior to running a metadata write
batch.
Also note, this will only work on some file formats. Will not work with ID3 tags in MP3 files.
41 - 55
Name collision rules
When making new names there is a chance of two files ending up with the same name. The
default behavior is to fail and not rename the file but you can change this behavior by applying a
different name collison rule. The 4 rules are described below.
Fail
Don't let Advanced Renamer rename files with a name collision. This is the default behavior.
Will append a incrementing number grouped by similar filenames. If the resulting new names are
as follows:
Foo.txt
Foo.txt
Bar.txt
Bar.txt
Bar.txt
42 - 55
The resulting names will be:
Foo.txt
Foo_001.txt
Bar.txt
Bar_001.txt
Bar_002.txt
Will append the Exif value Image Sub Second (if present) to files with the same name.
Append pattern
When using this collison rule a text box will allow you to supply a pattern containing tags that
should be applied to the end of all files with a collision.
Regular expressions
A regular expression language is a powerful way of manipulating with texts. Advanced Renamer
supports the use of regular expressions for pattern searching and replacing in several methods.
The use of these expressions is primarily meant for power users and people with programming
experience but none the less gaining knowledge of the basics will prove to be very rewarding. A
standard library called PCRE is used which means that people with prior knowledge of this
library will feel right at home. Those learning this for the first time will also be able to use the
skills in other similar tools.
This page will try to give you basic knowledge about the use of regular expressions in the
context of file renaming.
A regular expression contains normal characters and metacharacters. The normal characters are
interpreted as they are while the metacharacters have special meaning. Let's start out with a
simple expression:
zip_\d\d\d\d
Given the expression above the resulting match of a filename "BayTower_zip_4500.txt" will be
"zip_4500". The "\d" is a metacharacter which represent any numeric value raging from 0 to 9.
The above expression matches any phrase starting with "zip_" followed by 4 digits.
43 - 55
The most common method with regex support is the Replace method. If you in the first text field
type the above expressions "zip_\d\d\d\d" and in the second text field type "zip_unknown" any
file containing "zip_" followed by 4 digits will get this text phrase replaced by "zip_unknown".
Sequences
What if we don't know how many numbers a zip code consists of? What if some files contain
"zip_123" and others "zip_384739"? The above expression will only match if there are exactly 4
digits. If we don't know how many digits there are we can use another meta character. Consider
this expression:
zip_\d+
The plus + will match the previous character 1 or more times which means that this expression
will match "zip_123" and "zip_1234" and "zip_8000000".
Grouping
It is possible to define subpatterns within the pattern itself which proves very useful when using
the replace method. A group is defined by enclosing a part of the pattern in a parenthesis ().
Given this pattern:
zip_(\d+)
The match is exactly the same as before except now we can access the value of the subpattern in
a replace scenario. If in the replace method we put "\1_zip" in the second text field the result will
show that the two parts of the filename have changed place. If the filename contains "zip_123"
the filename will contain "123_zip" after the method has been applied. The value of the special
metacharacter \1 is in this case "123" . If more than one group is used the next group name will
be \2.
If we have a filename like this "Michael Jackson - Thriller.mp3" and we want to change it to
something like this "Thriller - Michal Jackson.mp3" we can apply a regular expression in the
replace method like this:
In this case some familiar notation is used but also two new metacharacter. The dot matches
anything character digit or non-digit. The star * matches the previous character 0 or more times.
The pattern is build of two similar groups divided by - . The first group matches "Michal
Jackson" and putting it into \1 while the second group matches "Thriller" putting it into \2.
Because the first group is replaced by the value of the second and vice versa, the two parts of the
filename change place.
44 - 55
Metacharacters
The List
Files vs. Folders
You cannot rename both files and folders at the same time. You can choose between Files View
or Folders View by using the two buttons above the list.
45 - 55
Add Files
There are several ways to add files to the list.
You can drag files from Explorer or any
other file manager. You can also click Add
in the toolbar or in the right click menu or
click the Insert button on your keyboard, and
select the files you want to add from the
open files dialog.
Add Folders
To add a folder to the Folders View, the best
way is to drag them from Explorer or any
other file manager. Another way is to click
Add and then Directory in the toolbar. That
is the same as right clicking in the list and
choose Add or just hitting the Insert button
on your keyboard.
Remove Items
To remove items from the list, you just
select them and select Remove from the
right click popup menu. Or you can use the
Delete button on your keyboard.
Move Items
It is also possible to move the items to
another position in the list. It is only possible
to drag one item to a new position, but if you
use CTRL + UP or Down, you can move all
selected items either up or down.
46 - 55
Save List
If you want to save the list for later use, you can either click List -> Save in the toolbar or you
can right click and choose Save List. The list will be saved in a regular text file, which can be
opened in any text editor.
Load List
To load a list of files, click List -> Load in the toolbar or right click and choose Load List. The
list does not have to be a list saved by Advanced Renamer. You can write the list in any raw text
editor, save it and load it in the application.
Thumbnail mode
To enter and exit thumbnail mode, use the button Thumbnail on the
toolbar. Thumbnail mode is intended for sorting and renaming image
files by displaying the actual image instead of the small icon in the
list.
You can use the settings dialog to specify the size of your thumbnails.
Next to the Thumbnails button there is a View Style selection button. The button can be used to
change how the files will be displayed in the list. Some views are more suited for sorting image
files than others but displays less details.
Be aware that extracting thumbnails from all the files in the list may take some time and stress
your computer hardware. Using too big a list in thumbnail mode can make Advanced Renamer
and your computer slow.
47 - 55
Environment
Image files
48 - 55
Thumbnail width & heigh
This specifies the dimension of the thumbnails when Advanced Renamer is in thumbnail mode.
The thumbnail mode works with any file, but is only really useful when sorting and renaming
pictures.
Default: Width: 120 Height: 120
49 - 55
ID3 Sequence
Choose in which order Advanced Renamer should look for ID3 tags in music files.
Default: ID3v2, ID3v1
Program
50 - 55
Show FileInfo Box
If checked, the FileInfo Box to the left of Advanced Renamer is shown.
Learn more about the FileInfo Box here.
Default: on
Show grid
Toggles the file and folder list grid.
Default: on
51 - 55
Show start button to the left
Some like the "Start batch" button to left other to the right. Choose your preferred position.
Default: Off
Item limit
The maximum number of files or folders the program can hold in the list. Increase this if
necessary. Note, can make the program slow if set to high
Default: 25000
Renaming
Word separators
Some features work on the words of a filename. The New Case method can change case of the
first letter of every word, and the Word tag can be used to insert a word from the filename in an
other location of the filename. Use this text field to change which characters are used to separate
the words.
Default: . ,_-()[]{}!
52 - 55
with four choices will be shown after the batch is done.
Default: Ask
Filename
The csv file can either be a file previously saved by Advanced Renamer or created in a program
like Microsoft Excel or LibreOffice.
Base folder
If the csv file doesn't contain absolute paths to original files, you can use this control to define a
common base path for the files.
Column separator
The separator used to separate the individual columns in the csv file. This is usually ; or ,.
53 - 55
Data from CSV import
Advanced Renamer will automatically import embedded metadata from files added to the list. If
you have metadata not embedded directly in the files you can instead import the metadata from a
CSV file. To do so, click Import -> Data from CSV. A window from which to choose a CSV file
will appear.
After import the tag <Csv:X> can add the value of the column represented by X to the filename.
X is a numeric value starting from 1 representing the index of the column to use. The first
column can be used by using this tag <Csv:1>.
Filename>
The location of the CSV file to import. The file can be created using Microsoft Office,
Libreoffice, or another spreadsheet tool.
Column separator
The separator used to separate the individual columns in the csv file. This is usually ; or ,.
54 - 55
File encoding
If your file doesn't load well or the characters look wrong, maybe loaded with a different
alphabet, your file encoding might not match the encoding used for import. Use this drop-down
box to choose an alternate encoding if needed.
55 - 55