1OSTREE LS(1) ostree ls OSTREE LS(1)
2
3
4
6 ostree-ls - List file paths
7
9 ostree ls [OPTIONS...] {COMMIT} [PATHS...]
10
12 Prints a list of file paths within the given commit, and within the
13 given path(s) if specified. The first letter of the file line output
14 specifies the type: "-" for regular file, "d" for directory, "l" for
15 symbolic link. See EXAMPLE section for more detail on the specific
16 output.
17
19 --dironly,-d
20 Do not recurse into directory arguments.
21
22 --recursive,-R
23 Print directories recursively.
24
25 --checksum,-C
26 Print checksum.
27
28 --xattrs,-X
29 Print extended attributes.
30
31 --nul-filenames-only
32 Print only filenames, NUL separated.
33
35 $ ostree ls my-branch
36
37 d00644 0 0 0 /
38 -00644 0 0 2 /helloworld.txt
39 d00755 0 0 0 /testdirectory
40
41 Here, the first column is the file-type symbol (as explained in the
42 DESCRIPTION section) followed by the S_IFMT file type. The next two
43 columns (here: 0 0) are respectively the user ID and group ID for the
44 file. After the break, the next number represents that file's standard
45 size. The final column is the file path.
46
47
48
49OSTree OSTREE LS(1)