OSTREE CHECKSUM(1) ostree checksum OSTREE CHECKSUM(1)

.SH "NAME" ostree-checksum - Checksum a file or directory

.SH "SYNOPSIS"

.HP 384u

**ostree checksum** {PATH}

.SH "DESCRIPTION"

.PP Generates a checksum for a given file or directory.

.SH "OPTIONS"

.PP **--ignore-xattrs**

Ignore extended attributes when checksumming.

.RE

.SH "EXAMPLE"

.PP **$ ostree checksum file1**

```


        67e382b11d213a402a5313e61cbc69dfd5ab93cb07fbb8b71c2e84f79fa5d7dc
```

OSTree

---

Document: ostree-checksum(1) from ostree 2026.4-r4 (Chainguard OS)
Source: https://github.com/ostreedev/ostree
