Fetcher manipulator: CsvSingleFileByExtension - MarcusBarnes/mik GitHub Wiki
Overview
Fetcher manipulator to include only single-file CSV objects that have specific file extensions.
Toolchains
Can be used with the CSV Single File toolchain.
Configuration
To register this manipulator in your toolchain, add the following line to the "[MANIPULATORS]" section of your .ini file, for example:
fetchermanipulators[] = "CsvSingleFileByExtension|ext1,ext2"
For example, if you wanted to fetch all the JP2 and TIFF objects from your CSV input file, you would use the following manipulator entry:
fetchermanipulators[] = "CsvSingleFileByExtension|jp2,tif"
Parameters
This manipulator takes a list of file extensions, without the leading peroids and separated by a comma (,
).
Functionality
The CSV Single File toolchain will create ingest packages for objects whose filenames end in the specified extensions.