---
name: "ostree-checksum"
section: "1"
platform: "linux"
package: "ostree"
version: "2026.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ostree-checksum"
---

# ostree-checksum(1)

Checksum a file or directory

## NAME

ostree-checksum - Checksum a file or directory

## SYNOPSIS

**ostree checksum** {PATH}

## DESCRIPTION

Generates a checksum for a given file or directory.

## OPTIONS

- **--ignore-xattrs**

  Ignore extended attributes when checksumming.

## EXAMPLE

**$ ostree checksum file1**

```
        67e382b11d213a402a5313e61cbc69dfd5ab93cb07fbb8b71c2e84f79fa5d7dc
```
