[Table of Contents & Credits--start]
Note: This section and any headers enclosed in square brackets not part of original file.
"Siren is a file renaming program" that can be found at http://scarabee-software.net/en/siren.html.
All the following content credit goes to Siren's author. FAQ and more help at https://rentry.co/siren_faq.
[Table of Contents & Credits--end]
Did you look at the "First Contact" option?#
Ok, let's go further.
The main window is divided into two parts. The top one contains the file list, the bottom one is used to display the image associated to the active file.
The aim of Siren is to rename files.
Its guiding principle is the use of expressions.
An expression can contain text and information specific to each treated file.
Each of these information is used through a "variable".
A variable must be prefixed by a '%'.
They can be assembled into different groups.
Don't be frightened by the quantity. Tools like the completion window or the right click on a value will enable you to avoid having to remember them all.
Here is a list:
(All dates are in format "YYYYMMDD" and times in format "HHMMSS" [HH=24 hours])
- Group of "base" information: all files
Zeroes ('0') will be eventually added on the left of these numbers to reach the size defined in "Options/_Numbers_".
- Group of "audio" information: mp2, mp3, mpc, ogg, wma, wav
(%m, %M and %A variable prefixes are equivalent)
- Group of "id3v1 tag" information: mp2, mp3, mpc
- Group of "audio tag" information: mp2, mp3, mpc, ogg, wma, wav
(%M and %A variable prefixes are equivalent)
- Group of "video" information: avi, mpg, mpeg, asf, wmv
- Group of "video tag" information: avi, asf, wmv
- Group of "image" information: tif, tiff, jpg, jpeg, gif, png, pcx, bmp, dib, ico, cur
- Group of "exif" information: jpeg, jpg
Note: "official" name of the tag preferred.
- Group of "karaoke" information: kar, mid
- Group of "office & pdf" information: doc, xls, pot, pps, ppt, mpp, dot, pdf
You can put one or more character modifiers just after the "%":
("é" to "e", "ü" to "u", "Á" to "A" ...)
For example, for the file "Ébölie family photo.JPG":
||ÉBÖLIE FAMILY PHOTO.JPG|
||ébölie family photo.jpg|
||Ébölie Family Photo.jpg|
||Ébölie family photo.jpg|
||Ebolie family photo.JPG|
||EBOLIE FAMILY PHOTO.JPG|
||Ebolie family photo.jpg|
Of course, the character "*" can be used.
Depending upon the position of the '.' (the dot which delineates file base name from extension) in an expression, the "*" will represent either the base name or the extension. It is not a variable and its value can not be modified.
Here are some examples based on the file "autoexec.bat" modified the 01/01/2002 at 14:10:01
||base autoexec - extension bat|
||base Autoexec - extension Bat|
Every variable can be postfixed by a "" modifier. It will be split into an array of substrings following the specified separator characters.
The usage is: "
[ i , "sep" ]"
If the chosen string is "%b", "%b[n]" contains the file base name characters between the n-1 and nth separator occurrences. Beginning and ending spaces are deleted (full trim).
For example, using the file:
"01 - Artist_Group - Song title .mp3"
with "-" in the array elements separators list in "Options/_Modifications_":
||SONG TITLE - Artist_Group.mp3|
||01 - Artist_Group - Song title|
||Group - Song title|
Every variable can be postfixed by a "()" modifier. This modifier can have two functions:
- Substring extraction
The usage is very near of the standard "substr": "( pos, nb )"
- String replacement
The usage is near of the standard "replace": "( "str1", "str2", i1, i2, cs )"
The last four parameters are optional. By default all occurrences are treated and the search is case insensitive.
You can "concat" as many modifiers "()" and "" as you want. They will be evaluated from left to right.
The character modifiers (u,l,@...) will be applied on the result so obtained.
Here are some examples using the file "autoexec.bat" with "-" in the array elements separators list:
Let's examine, step by step, that last example:
%Lb("auto","auto-")(3).%e on "autoexec.bat":
||on "autoexec.bat" gives "autoexec"|
||on "autoexec" gives "auto-exec"|
||on "auto-exec" gives "exec"|
||on "exec" gives "ec"|
||on "ec" gives "Ec"|
|||add fixed text "."||on "Ec" gives "Ec."|
||on "Ec." gives "Ec.bat"|
Like under DOS, the expression "*." will rename "autoexec.bat" to "autoexec".
If you want to use one of the special characters (%*()...) as a standard character, put a '\' in front of it.
Options have been added to modify the string previously composed ("File" menu, under "Options/_Modifications_").
Two lists of characters to delete can be specified:
- The first contains the characters to delete.
For example, the file "image.bmp" with "aei" in the list
will be proposed "mg.bmp"
- The second one, the for which no repetition is allowed.
For example, the file "a---b.txt" with "-" in the list
will be proposed "a-b.txt".
Two replacement character lists are present.
The first ("From") indicates which characters to replace and the second ("To") indicates by what to replace them.
For example, the file "image_rua.bmp" with "_r" and "-s" in the lists "From" and "To" will be proposed "image-sua.bmp"
There is a box to specify by what to replace invalid filename characters (*\? ...etc...).
If you let it empty, they will be deleted.
You can enter a maximum name length, 64 characters for example.
If possible, only the base name will be truncated.
For audio files, you can choose to use the value from one tag or another if the needed one is empty.
Only common id3v1 and audio tag values are concerned (title, artist, album, year, comment, track number and genre).
Choose too if a variable will be empty or not if it's associated data is not valid. This concerns only dates.
For Exif, you've surely noticed that many information contain a "/" (division symbol). But this character is not allowed in file names and will be replaced. You can specify which string to use as separator.
For example " divided by ".
Siren will help you writing renaming expression:
If, in the file list, you right click on an information that interests you, you'll be able to insert it's corresponding variable or current value in the expression.
During the writing of an expression:
Enter: recomputes the "Future names" and adds the expression to the combo list.
F1or right-click: displays the completion window.
Double click on an element to add it in the current expression.
Ctrl+I: pastes the current file name.
Ctrl+P: displays the current cursor column in the status bar.
The loading of a directory can include all its sub-directories allowing the renaming off all files in a directory tree. In this mode, directories cannot be renamed.
In the "Filter" combo, you can enter a string to limit the file list (for example: "*.mp3").
A filter can be compound of many "file specs", separated by ';'.
For example, to list only "mp3", "bmp" or files beginning with a 'F', type:
The "DOS" filter functionalities have been extended to the UNIX "standard" ones.
The meta characters list limited to "*" and "?" has been completed with "[!-]".
It is possible to specify allowed or refused file lists.
For example, the files:
"mp3" files containing a "#" or a "=" :
beginning with an alpha character:
not beginning with "T":
... etc ...
During a renaming, if a "system error" occurs, the file (or files) concerned will be colored "near red" and the associated message will be displayed in the status bar.
Files drops are allowed: select files in another program (Windows Explorer for example) and move them onto Siren. The parent directory is loaded and files selected. A directory drop can be done directly on the "directory" combo.
To activate the shell contextual menu for the current directory, right click on the directory combo or on "..".
You can personalize the list and the order of the displayed columns. Each one will be visible only if it is checked in "Options/_Columns_" and if the toolbar button associated to his Group is checked too.
You can let Siren automatically select groups of used columns and eventually display only non empty columns.
The "Favorites" menu will enable to keep and reuse your preferred rename expressions.
By using the program you will see that there are many different ways of getting the same results simply.
In case of mistake, don't worry, until you change of directory or you quit Siren, all renaming can be undone.
The rest of the program:
- choosing the directory
- choosing and ordering the columns
- search/select with a file filter
- selection number
- number formats
- directory monitoring
- create DOS batch file of rename commands
- open, delete
- image visualization
- splitter usage
- system shortcuts to Siren
- copy selected files list to the clipboard
... etc ...
shouldn't be too difficult.
Do not hesitate to share your remarks and suggestions with me.
PS: Sorry for my poor frenglish.