Job Filters: Filter By Extensions or Type



On This Page

Overview

There are two filters available to filter content based on content type. You can filter by file extension or by file type. Please also see Configuring Predefined Groups for information on how predefined groups cover large numbers of extensions for particular file types such as images.

File Extension

In the File extensions field, type the extensions you want to filter separated by commas.

File Type

The File types list displays the available file types you can filter. Select one or more types.


Filter Using REST API

Files are filtered by extensions using the filter_extension or extension filter type. The only other attribute for this rule is the extensions attribute, which takes an array of file extensions.

Attributes

Attribute

Description

Attribute

Description

extensions

An array of file extensions to which the filter applies. These are listed in the format "[extension]" (e.g. "txt" will match *.txt files such as notes.txt). The initial period in the extension is not required.

type

filter_extension or extension are the only allowable values for this filter type. Both values signify the same filter.

 

Example

{ ... "transfer": { ... "filter": { "source": [{ "action": "exclude", "rules": [{ "extensions": [ "wav", "jpg" ], "type": "filter_extension" } ], "type": "filter_rule" } ] } } ... }

 

 

DryvIQ Migrate Version: 5.9.1
Release Date: November 7, 2024