| Aspera Sync | 251
\ Quotes any character literally, including itself. \ is exclusively a quoting operator, not
a path separator.
* Matches zero or more characters, except "/" or the . in "/.".
? Matches any single character, except "/" or the . in "/.".
[ … ] Matches exactly one of a set of characters, except "/" or the . in "/.".
[^… ]
When ^ is the first character, matches exactly one character not in the set.
[!… ]
When ! is the first character, matches exactly one character not in the set.
[x-x]
Matches exactly one of a range of characters.
[:xxxxx:]
For details about this type of wildcard, see any POSIX-standard guide to globbing.
Examples of Standard Globbing
Wildcard Example Matches Does Not Match
/ abc/def/xyz abc/def/xyz abc/def
\ abc\? abc? abc\? abc/D abcD
* abc*f abcdef abc.f abc/f abcefg
? abc?? abcde abc.z abcdef abc/d abc/.
[ … ] [abc]def adef cdef abcdef ade
[^… ] [^abc]def zdef .def 2def bdef /def /.def
[!… ] [!abc]def zdef .def 2def cdef /def /.def
[:xxxxx:]
[[:lower:]]def cdef ydef Adef 2def .def
Globbing Extensions
Globbing Extensions Description
no / or * at end of rule Matches only files.
/ at end of rule Matches only directories.
* or /** at end of rule Matches both directories and files.
/** Like * except that it also matches the / character.
/ at start of rule Matches from the system's root directory (absolute path) only; that is, the entire string
must be matched. Note: The / means the system's root, not the docroot, and not from
the top level specified for the transfer set.
Examples of Globbing Extensions
Globbing Extensions Example Matches Does Not Match
/** abc/**/def abc/def abc/x/def abc/.wxy/
def abc/wxy/tuv/def
abc/xyz/def/ zabc/wxy/def
* at end of rule abc* abc/file abc/dir
/** at end of rule abc/** abc/.file abc/dir abc/
wxy/.dir abc/wxy/tuv/file
abc/