| ascp: Transferring from the Command Line with Ascp | 131
AAA/wxyfile
AAA/wxy/xyx/
< AAA/abc/def
< AAA/abc/.def
< AAA/abc/.wxy/def
< AAA/abc/wxy/def *
< AAA/abc/wxy/.def
< AAA/abc/wxy/tuv/def
< AAA/wxy/xyxfile
* Even though wxy is included, def is excluded because it's a file.
5.
Include wxy directories and files at any level, even those starting with ".":
-N '*/wxy*' -N '*/wxy/**' -E 'AAA/**'
Results:
AAA/abc/wxy/def
AAA/abc/wxy/.def
AAA/abc/wxy/tuv/def
AAA/abc/xyz/def/wxy
AAA/wxyfile
AAA/wxy/xyx/
AAA/wxy/xyxfile
< AAA/abc/def
< AAA/abc/.def
< AAA/abc/.wxy/def
6.
Exclude directories and files starting with wxy, but only those found at a specific location in the tree:
-E '/AAA/abc/wxy*'
Results:
AAA/abc/def
AAA/abc/.def
AAA/abc/.wxy/def
AAA/abc/xyz/def/wxy
AAA/wxyfile
AAA/wxy/xyx/
AAA/wxy/xyxfile
< AAA/abc/wxy/def
< AAA/abc/wxy/.def
< AAA/abc/wxy/tuv/def
7.
Include the wxy directory at a specific location, and include all its subdirectories and files, including those starting
with ".":
-N 'AAA/abc/wxy/**' -E 'AAA/**'
Results:
AAA/abc/wxy/def
AAA/abc/wxy/.def
AAA/abc/wxy/tuv/def
< AAA/abc/def
< AAA/abc/.def
< AAA/abc/.wxy/def
< AAA/abc/xyz/def/wxy
< AAA/wxyfile
< AAA/wxy/xyx/