github.com/pachyderm/pachyderm@v1.13.4/doc/docs/master/reference/pachctl/pachctl_get_file.md (about) 1 ## pachctl get file 2 3 Return the contents of a file. 4 5 ### Synopsis 6 7 Return the contents of a file. 8 9 ``` 10 pachctl get file <repo>@<branch-or-commit>:<path/in/pfs> [flags] 11 ``` 12 13 ### Examples 14 15 ``` 16 17 # get file "XXX" on branch "master" in repo "foo" 18 $ pachctl get file foo@master:XXX 19 20 # get file "XXX" in the parent of the current head of branch "master" 21 # in repo "foo" 22 $ pachctl get file foo@master^:XXX 23 24 # get file "XXX" in the grandparent of the current head of branch "master" 25 # in repo "foo" 26 $ pachctl get file foo@master^2:XXX 27 ``` 28 29 ### Options 30 31 ``` 32 -h, --help help for file 33 -o, --output string The path where data will be downloaded. 34 -p, --parallelism int The maximum number of files that can be downloaded in parallel (default 10) 35 -r, --recursive Recursively download a directory. 36 ``` 37 38 ### Options inherited from parent commands 39 40 ``` 41 --no-color Turn off colors. 42 -v, --verbose Output verbose logs 43 ``` 44