File Rename
MINUMUM IMPORTER VERSION: 3.20.0001.0001
EVENT: FolderBeforeImport
SYNOPSIS: Renames the incoming files using wild card techniques.
DESCRIPTION: File Rename will rename the incoming files by using wild card replacements or static values. If you replace with a static value then the file will be renamed as the static value with no wild card replacements. If you use wild cards then the file is named more intelligently.
CONFIGURATION: You need to specify the source file's wild card (FROM) and the destination file's wild card (TO).
Source Wildcard: The wildcard that is used to determine which files to rename. This uses the standard .NET path searchPattern techniques as outlined in this Microsoft article.
Destination Wildcard: This wildcard uses a similar technique to replace the file name values to create a new file name.
EXAMPLE
The following patterns and files show how the rename would work:
Source Wildcard |
Destination Wilcard |
Incoming File |
Renamed File |
Abc???.abc |
*.csv |
Abc123.abc |
Abc123.csv |
*.txt |
*.csv |
12345.txt |
12345.csv |
TMP*.TXT |
BAT*.TXT |
TMP090909.TXT |
BAT090909.TXT |