github.com/pachyderm/pachyderm@v1.13.4/doc/docs/1.11.x/reference/pachctl/pachctl_list_file.md (about) 1 ## pachctl list file 2 3 Return the files in a directory. 4 5 ### Synopsis 6 7 Return the files in a directory. 8 9 ``` 10 pachctl list file <repo>@<branch-or-commit>[:<path/in/pfs>] [flags] 11 ``` 12 13 ### Examples 14 15 ``` 16 17 # list top-level files on branch "master" in repo "foo" 18 $ pachctl list file foo@master 19 20 # list files under directory "dir" on branch "master" in repo "foo" 21 $ pachctl list file foo@master:dir 22 23 # list top-level files in the parent commit of the current head of "master" 24 # in repo "foo" 25 $ pachctl list file foo@master^ 26 27 # list top-level files in the grandparent of the current head of "master" 28 # in repo "foo" 29 $ pachctl list file foo@master^2 30 31 # list the last n versions of top-level files on branch "master" in repo "foo" 32 $ pachctl list file foo@master --history n 33 34 # list all versions of top-level files on branch "master" in repo "foo" 35 $ pachctl list file foo@master --history all 36 ``` 37 38 ### Options 39 40 ``` 41 --full-timestamps Return absolute timestamps (as opposed to the default, relative timestamps). 42 -h, --help help for file 43 --history string Return revision history for files. (default "none") 44 --raw disable pretty printing, print raw json 45 ``` 46 47 ### Options inherited from parent commands 48 49 ``` 50 --no-color Turn off colors. 51 -v, --verbose Output verbose logs 52 ``` 53