File-system paths
BatchX file-system paths
BatchX file-system path are canonically represented by starting with bx://.
Path patterns
Some of the CLI commands accept file patterns written in Apache Ant syntax, as follows:
?matches one character*matches zero or more characters**matches zero or more 'directories' in a path
Examples
bx cp /tmp/*.tmp bx://tmpUploads all.tmpfiles of/tmpfolder intobx://tmp/bx cp /tmp/**/*.tmp bx://tmpUploads all.tmpfiles under the/tmpfolder tree intobx://tmp/keeping the original directory structure under/tmp/bx cp /tmp/**/aa/*.tmp bx://tmpUploads all.tmpfiles in anyaafolder under the/tmpfolder tree intobx://tmp/keeping the original directory structure under/tmp/bx cp /tmp/**/aa/b*.tmp bx://tmpUploads all.tmpfiles, whose name starts withbin anyaafolder under the/tmpfolder tree intobx://tmp/keeping the original directory structure under/tmp/bx cp /tmp/**/aa/b?.tmp bx://tmpUploads all.tmpfiles, whose name has length 2 and starts withbin anyaafolder under the/tmpfolder tree intobx://tmp/keeping the original directory structure under/tmp/
Supported commands
``bx cp``