Pachctl glob file
March 22, 2023
pachctl glob file #
Return files that match a glob pattern in a commit.
Return files that match a glob pattern in a commit (that is, match a glob pattern in a repo at the state represented by a commit). Glob patterns are documented here.
pachctl glob file "<repo>@<branch-or-commit>:<pattern>" [flags]
# Return files in repo "foo" on branch "master" that start # with the character "A". Note how the double quotation marks around the # parameter are necessary because otherwise your shell might interpret the "*". $ pachctl glob file "foo@master:A*" # Return files in repo "foo" on branch "master" under directory "data". $ pachctl glob file "foo@master:data/*" # If you only want to view all files on a given repo branch, use "list file -f <repo>@<branch>" instead.
--full-timestamps Return absolute timestamps (as opposed to the default, relative timestamps). -h, --help help for file -o, --output string Output format when --raw is set: "json" or "yaml" (default "json") --project string Project in which repo is located. (default "joins") --raw Disable pretty printing; serialize data structures to an encoding such as json or yaml
Options inherited from parent commands #
--no-color Turn off colors. -v, --verbose Output verbose logs