IBM Aspera HST Admin Manual page 128

High-speed transfer server
Table of Contents

Advertisement

Standard Globbing: Wildcards and Special Characters
/
\
*
?
[ ... ]
[^... ]
[!... ]
[x-x]
[:xxxxx:]
Globbing Extensions: Wildcards and Special Characters
no / or * at end of pattern
/ at end of pattern
* or /** at end of pattern
/**
/ at start of pattern
Standard Globbing Examples
Wildcard
/
\
*
?
[ ... ]
[^... ]
[!... ]
[:xxxxx:]
Globbing Extension Examples
Wildcard
/**
* at end of rule
The only recognized path separator.
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.
Matches exactly one of a range of characters.
For details about this type of wildcard, see any POSIX-standard guide to globbing.
Matches files only.
Matches directories only. With -N, no files under matched directories or their
subdirectories are included in the transfer. All subdirectories are still included,
although their files will not be included. However, with -E, excluding a directory also
excludes all files and subdirectories under it.
Matches both directories and files.
Like * but also matches "/" and the . in "/.".
Must match the entire string from the root of the transfer set. (Note: The leading /
does not refer to the system root or the docroot.)
Example
abc/def/xyz
abc\?
abc*f
abc??
[abc]def
[^abc]def
[!abc]def
[[:lower:]]def
Example
a/**/f
abc*
| ascp: Transferring from the Command Line with Ascp | 128
Matches
abc/def/xyz
abc?
abcdef abc.f
abcde abc.z
adef cdef
zdef .def 2def
zdef .def 2def
cdef ydef
Matches
a/f a/.z/f a/d/e/f a/d/f/ za/d/f
abc/ abcfile
Does Not Match
abc/def
abc\? abc/D abcD
abc/f abcefg
abcdef abc/d abc/.
abcdef ade
bdef /def /.def
cdef /def /.def
Adef 2def .def
Does Not Match

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents