# Compare folders

### Description

The `Compare folders` action compares two folders to determine if the content is identical; the result will either be true or false.

### Options

| Option               | Description                                                                                                     |
| -------------------- | --------------------------------------------------------------------------------------------------------------- |
| Workflow action name | The name of the workflow action. This name has to be unique in a single workflow.                               |
| Include Subfolders   | Also compare the content of sub-folders.                                                                        |
| Compare              | Specify what to compare: All, Only files, Only folders, or Let me specify…​                                     |
| Wildcard             | If you chose Let me specify in the previous option, you can specify the regular expression of files to compare. |
| Compare file size    | Check this to compare file size, in opposed to just comparing folder names.                                     |
| Compare file content | Checks if files have the same content. Note: this may cause slower processing speeds.                           |
| File/Folder name 1   | This is the first file or folder to compare                                                                     |
| File/Folder name 2   | This is the second file or folder to compare                                                                    |


---

# Agent Instructions: 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.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/comparefolders.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.
