> For the complete documentation index, see [llms.txt](https://docs.nodeum.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nodeum.io/data-mover/console/data-mover-management/policy-based-task-orchestration/filtering-basic-or-advanced.md).

# Filtering (Basic or Advanced)

Allows users to easily manage and organize their data movement workflows by filtering files based on specific criteria.  Handle different time - date threshold in the filter module such as : creation date, last access date, ...

Two different types of filtering are available:

* basic mode
* Advanced mode: it provides an embedded scripting editor.

### Based on File Name

The file name and path can be used in the filtering module.

<figure><img src="/files/081lYR1CrTKUzRel01Tk" alt=""><figcaption></figcaption></figure>

### Based on File Extension

<figure><img src="/files/QgMkYy640sU2VtrJkED5" alt=""><figcaption></figcaption></figure>

### Based on File Size

<figure><img src="/files/qUmnzU0zQk0etAgrcupB" alt=""><figcaption></figcaption></figure>

### Based on Boolean Operators

&#x20;Boolean operators are available. Default operator is inclusive OR, different operators can be set.

<figure><img src="/files/u4s8UVHKsyhnsFS6Carz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iVJLoCIvzZx6TD5IWU20" alt=""><figcaption></figcaption></figure>

### Based on Metadata

A attribute ‘ship’ is defined for the file ‘mytestext’, and set to ‘boat 1’

```bash
$ ~# getfattr mytestext -d
# file: mytestext
user.ship="boat 1"
```

Then we can use a filter to request to copy only file which has this attribute set to `boat 1`.

<figure><img src="/files/sqIfG4GaXLwxBbe8fFzo" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nodeum.io/data-mover/console/data-mover-management/policy-based-task-orchestration/filtering-basic-or-advanced.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
