Bulk Renaming
Filestar has a powerful renaming system that allows you to control the filename for the produced files.
In the following examples let's assume that we are converting the file cat.jpg
to a PNG image. The following path template will give us the filename cat.png
:
Anything between <
and >
is a special tag that is replaced with a value. Between the tags, you can have any characters to form your path and filenames.
By specifying path templates you can create advanced renaming rules. Here's an example:
Supported Tags
Filename
Is replaced with the name of the original file excluding the extension.
Extension
Is replaced with the new extension.
Order
Some skills return more than one file (like splitting a document into images). The tag is replaced with the numeric index of the output file counted from 0. Formatting can be controlled with the Format argument.
Page
Works the same way as the tag but the numeric index is counted from 1.
Guid
Is replaced with a new Guid.
ArchivePath
This tag is used when extracting files from an archive like a zip file to extract the files with the same folder structure as in the archive.
Md5
Is replaced with the Md5 hash of the file.
File
Is replaced with a file property.
Image
Is replaced with image metadata.
Mp3
Is replaced with mp3 metadata.
Tag
The tag is a special tag that can be used in combination with the "By Path" file selection method to submit a list of filenames through a CSV format.
Case.Lower
Method for lowercasing.
Case.Upper
Method for uppercasing.
Trim
Method for removing unwanted characters at the start or the end of a string.
Substring
Method for cutting out a piece of a string.
Replace
Method for replacing all occurrences of one string with another.
Last updated