When you specify include criteria, you can specify either RegEx pattern or a simple pattern.
- With RegEx, the search pattern can be a simple character, a fixed string, or a complex expression containing special characters describing the pattern. The pattern defined by RegEx may match one time, several times, or not at all for a given string. For patterns and examples, refer to the following page:
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html - For information on simple pattern matching, refer to the following tables:
The following table describes the special characters you can use:
Characters Description ? Matches any single character. For example, "something?" collects any path that is named "something" plus any character. * Matches any characters up to the next forward slash (/). For example, "*/*/something*" collects any path that has two directories, then a file or directory that starts with the name "something". ** Matches any characters. For example, "**/something/**" collects any path that contains a directory named "something". The following table provides more examples:
Example Description *.bam Matches all files with extension “bam” in the source folder. FR00?.bam Matches all files with name “FR00” and any one character and with extension “bam” in the source folder. **/*.bam Matches all files with extension “bam” in all folders and sub folders from the source location. images/**/*.jpg Matches all files with extension “jpg” in images folder and any of its sub folders from the source location. **/sub*/*.txt Matches all files with extension “txt” in any sub folders that start with “sub” from the source location. ERI10wef Matches with exact file name from the source location. /opt/test/temp.bam Matches with exact file name including its path from the source location.
For instructions on performing the registration, refer to the following pages:
- Registering from a Globus Endpoint via the GUI
- Registering from an AWS S3 Bucket via the GUI
- Registering from Google Drive via the GUI
- Registering from Google Cloud via the GUI
- Registering Directory Contents from Your Local System via the CLU
- Using dm_download_dataobject