---
name: "shatagd"
section: "1"
platform: "linux"
package: "shatag"
version: "0.5.0-4"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/shatagd"
---

# shatagd(1)

Automatically maintain hash tags for files in a given directory

## NAME

shatagd - Automatically maintain hash tags for files in a given directory

## SYNOPSIS

**shatagd** \[**-druv**\] \[**-b** *BACKEND*\] \[**PATH**\]...

## DESCRIPTION

**shatagd** Is a daemon companion to [**shatag**(1)](/shatag/1.md) that will monitor filesystem paths using [**inotify**(7)](/inotify/7.md) and automatically recompute a tag whenever a file is written to.

## OPTIONS

- **-d, --daemon**

  Daemonize. You must use absolute file paths when using this option.

- **-r, --recursive**

  Recursively watch sub-directories, as well as newly created directories.

- **-u, --update**

  Only update already tagged files. See the [shatag(1)](/shatag/1.md) manpage for pitfalls.

- **-v, --verbose**

  Write to stdout the paths of files which have their tags recomputed.

- **-b** *BACKEND***, --backend** *BACKEND*

  Backend to use. see the **--backend** option of [shatag(1)](/shatag/1.md).

## BUGS

Recursive mode is subject to an unavoidable race condition, due to a limitation of inotify.

Relative paths do not work when daemonized, only use absolute paths.

## REPORTING BUGS

Report shatag bugs to the bugtracker at http://bitbucket.org/maugier/shatag,

## SEE ALSO

[shatag(1)](/shatag/1.md), [shatag-add(1)](/shatag-add/1.md)
