1
mirror of https://github.com/rclone/rclone synced 2024-11-16 16:15:34 +01:00

Clarify filtering docs #489

This commit is contained in:
Nick Craig-Wood 2016-05-19 12:39:16 +01:00
parent 36700d36a7
commit cadf202107

View File

@ -82,6 +82,11 @@ Special characters can be escaped with a `\` before them.
\\.jpg - matches "\.jpg"
\[one\].jpg - matches "[one].jpg"
Note also that rclone filter globs can only be used in one of the
filter command line flags, not in the specification of the remote, so
`rclone copy "remote:dir*.jpg" /path/to/dir` won't work - what is
required is `rclone --include "*.jpg" copy remote:dir /path/to/dir`
### Directories ###
Rclone keeps track of directories that could match any file patterns.