Skip to content

Filters

Open the filters editor with i on the [4] Filters panel:

FieldTakesrsync flag
Includescomma-separated patterns--include (one per pattern)
Include-froma file path--include-from
Excludescomma-separated patterns--exclude (one per pattern)
Exclude-froma file path--exclude-from
Filtercomma-separated rules--filter (one per rule)
Files-froma file path--files-from

Commas become separate flags

Each entry in Includes/Excludes/Filter is its own flag. */, *.png in Includes comes out as --include=*/ --include=*.png, and includes land before excludes.

Bare patterns vs full rules

Includes and Excludes want bare patterns — the +/- is added for you. The Filter field wants full rules passed verbatim, so each one carries its own prefix (+ , - , P , . , : , …); a bare *.csv there fails with Unknown filter rule. Stick to Excludes for simple drops and save Filter for when you need ordering or the fancier rule types.

*-from files

The *-from fields point at a file with one pattern per line, and ~ expands to your home. One thing to watch: paths inside a Files-from file are relative to the Source root — with Source src/, docs/a.txt means src/docs/a.txt, and a bare README.md that isn't under src/ makes rsync exit 23.

Hit p after editing to watch each rule carve the diff down.

Released under the MIT License.