Bulk Renaming
Last updated
Last updated
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:
Is replaced with the name of the original file excluding the extension.
Is replaced with the new extension.
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.
Works the same way as the tag but the numeric index is counted from 1.
Is replaced with a new Guid.
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.
Is replaced with the Md5 hash of the file.
Is replaced with a file property.
Is replaced with image metadata.
Is replaced with mp3 metadata.
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.
Method for lowercasing.
Method for uppercasing.
Method for removing unwanted characters at the start or the end of a string.
Method for cutting out a piece of a string.
Method for replacing all occurrences of one string with another.