The Theme & Plugin Files Addon allows you to use patterns to match files that should be excluded from a migration. The pattern format loosely matches .gitignore or ‘glob’ syntax. Patterns are processed in order and are separated by a newline.
.DS_Store (a Mac system file) and
.git are listed as patterns, but these can be removed.
*.css would ignore all css files, but
**/assets/**/*.css would ignore all css files in the assets and sub folders.
Negate a pattern
Like .gitignore patterns, the
! character negates a pattern. For example, if you want to exclude all css files except for those in the assets directory, you would use the following pattern: