Include/Exclude Patterns

The Include Patterns and Exclude Patterns settings allow you to selectively copy items from the source to the destination of your sync.

If no Include Patterns or Exclude Patterns are provided, the full contents of the source will be copied to the destination.

Include Patterns

Use regular expressions to limit the items that should be included in a sync.

If set, only path names matching one or more of these patterns will be synced. Path globs are supported in the same way they are supported in Automations. Prefix patterns with **/ if you want them to apply to filenames in any folder or subfolder.

Multiple include patterns can be configured for a single sync.

Exclude Patterns

Use regular expressions to indicate items that should be excluded in a sync. If set, any path names matching one or more of these patterns will be ignored and excluded from the sync.

This setting takes precedence over the include patterns setting if a path matches both settings.

If a folder name matches any Exclude Patterns, the entire folder will not be copied. That means that all contents of the folder, including all of its recursive subfolders and their contents, will also be excluded.

Path globs are supported in the same way they are supported in Automations. Prefix patterns with **/ if you want them to apply to filenames in any folder or subfolder.

Multiple exclude patterns can be configured for a single sync.

Precedence

If a file name matches both an Include pattern and an Exclude pattern, the file will be excluded from the sync.

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.

Start My Free Trial

©2024 Files.com. All right reserved

FILES.COM

  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact

CONTACT & SUPPORT

support@files.com

(800) 286-8372

Monday–Friday

9am–8pm Eastern