Skip to content

Commands ​

Replace <id> with the number from an obit add or obit bury receipt, or from obit list / obit graveyard. Durations: s m h d w, combinable (1d12h).

Lifespans ​

powershell
obit add debug.log 2h                       # bury it in 2 hours (alias: mark)
obit add output\shots 1d12h                 # folders work too
obit add report.zip --at "2026-12-01 18:00" # at a given moment
obit list                                   # what is left and for how long
obit extend <id> 1d                         # one more day
obit spare <id>                             # stop tracking, keep the file (alias: cancel)
obit reap                                   # bury everything that is due now (alias: sweep; --dry-run previews)

The graveyard ​

powershell
obit bury old-build                         # bury right away
obit graveyard                              # what is in the graveyard and when it will be purged (--here: this folder only)
obit resurrect <id>                         # put it back; if the name is taken, it comes back renamed, never overwriting
obit resurrect --last                       # undo the last deletion: everything one obit bury / obit rm buried comes back
obit purge                                  # purge what is past retention (--all for everything, after confirming; --dry-run previews)
obit purge <id>                             # purge this grave now (permanent; asks first, --yes outside a terminal)

A bare number in resurrect and purge (5, #5) is always an ID; an unknown ID is an error and never falls back to a file name. For a file whose name is a number, write ./5 or an absolute path.

Delete wrappers ​

powershell
obit rm -rf build            # rm's common options; every path is buried
obit rmdir empty-dir
obit git-clean -fdx
obit remove-item .\build     # one literal path only

Rules and proposals ​

powershell
obit rules                       # the rules in effect here
obit rules check debug.log out/  # preview what would be registered and by which rule
obit rules apply debug.log       # register by rule
obit trust                       # trust this project's .obitrules (--yes when non-interactive)
obit proposals                   # proposals waiting for you, and what was registered without asking
obit approve 3                   # approve
obit reject 3                    # reject
$dir = obit mktemp 1d            # a temporary folder that buries itself

Folder policies, Docker and Podman ​

powershell
obit watch C:\Users\you\Downloads 2w
obit watch --list
obit watch --remove C:\Users\you\Downloads
obit docker add web-1 3d
obit docker list
obit podman add web-1 3d
obit podman list

Use obit mark --docker-volume cache 3d (add is an alias) to bury cache in three days, or obit bury --docker-volume -- cache to bury it now. Podman support covers standalone non-Pod containers only and leaves Pods, images and volumes untouched. Docker & Podman containers and volumes

Integration and background ​

powershell
obit init                       # Claude Code hooks and Skill, context menu, Start menu and desktop shortcuts; the tray starts at login
obit init -g --agent codex      # Codex
obit init -g --guard-rm         # delete guard
obit init -g --mcp              # add the MCP server
obit init --no-context-menu --no-shortcuts --no-skill   # skip the context menu, shortcuts or Skill
obit init -g --uninstall --no-context-menu   # on uninstall keep the context menu and remove the rest; --no-shortcuts and --no-skill work the same way
obit init -g --show             # what is installed
obit daemon enable              # tray at login plus the fallback scheduled task
obit daemon status
obit daemon disable

With desktop supervision enabled, the tray handles expiries as they occur and an independent job checks once an hour. Without tray supervision for this data directory, the job runs every five minutes.

Queries and checks ​

powershell
obit doctor              # health check: short summary, full HTML report (--open, --verbose, --json)
obit stats               # eulogy: how much was buried, space freed, resurrections (alias: eulogy)
obit log                 # the full record of everything done
obit config              # show the configuration; --create writes a commented default
obit config telemetry off # disable usage reporting and clear the local installation ID; update checks are separate
obit hook audit          # with OBIT_HOOK_AUDIT=1: what each hook received and did
obit uninstall           # remove everything FileTomb set up (try --dry-run first)

Query and result commands (list, graveyard, proposals, stats, mark, bury, resurrect and others) support --json for scripts and agents; delete wrappers such as obit rm keep their original command's output format and have no --json.

Environment variables ​

VariableEffect
OBIT_DISABLED=1turn hooks off temporarily
OBIT_TELEMETRY=0, DO_NOT_TRACK=1disable usage reporting for this process; CI does not report
OBIT_GUARD_RM=0turn the delete guard off temporarily
OBIT_HOOK_AUDIT=1record what each hook received and did
OBIT_TRUST_PROJECT_RULES=1trust a project's .obitrules in CI
OBIT_HOME, OBIT_CONFIG_DIR, OBIT_USER_HOMEmove the data, configuration and user home locations

Delete-wrapper compatibility ​

  • git-clean accepts Git clean options -d, -f, -n, -q, -x, -X, -e pattern, --exclude pattern and --; it also accepts --dry-run, --force and --quiet.
  • rm accepts the common -r, -R, -f, -d, -v, --recursive, --force, --dir, --verbose, --preserve-root and -- options, followed by paths.
  • rmdir accepts only -v or --verbose and paths; options such as rmdir -p are rejected.
  • Windows remove-item accepts only -Recurse, -Force, -Path or -LiteralPath and exactly one literal path. For wildcards in Bash, use obit rm.

Parameter reference ​

obit ​

FileTomb (文件墓碑), the trash bin & lifespan guard for AI coding agents: give files a lifespan; when it runs out they are buried in a graveyard you can resurrect from (CLI: obit)

Usage: obit [command]

OptionShortDefaultDescription
--help-hfalsehelp for obit
--version-vfalseversion for obit

obit add ​

Give paths a lifespan (re-adding a tracked path resets its expiry)

Aliases: add, mark Usage: obit add <path>... <duration> | add <path>... --at <time> [flags]

OptionShortDefaultDescription
--atnone""expire at a local time: "2006-01-02 15:04", "2006-01-02" or "15:04"
--docker-volumenonefalsetreat operands as Docker volume names
--forcenonefalseallow folders that contain a .git repository
--help-hfalsehelp for add
--jsonnonefalseprint JSON
--no-daemonnonefalsedo not start the background daemon
--notenone""free-text note shown in the list

Examples:

text
obit add debug.log 2h
obit add output\shots 1d12h
obit add report.zip --at "2026-12-01 18:00"

obit approve ​

Approve proposals: register what they list

Usage: obit approve <proposal id>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for approve
--jsonnonefalseprint JSON

obit bury ​

Move paths into the graveyard now (restore with obit resurrect)

Usage: obit bury <path>... [flags]

OptionShortDefaultDescription
--docker-volumenonefalsetreat operands as Docker volume names
--forcenonefalseallow folders that contain a .git repository
--help-hfalsehelp for bury
--jsonnonefalseprint JSON
--notenone""free-text note kept with the burial

obit cancel ​

Spare paths or container IDs: stop tracking them and keep the objects

Aliases: cancel, spare Usage: obit cancel <id|path>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for cancel
--jsonnonefalseprint JSON

obit completion ​

Generate the autocompletion script for obit for the specified shell.

Usage: obit completion [command]

OptionShortDefaultDescription
--help-hfalsehelp for completion

obit completion bash ​

Generate the autocompletion script for the bash shell.

Usage: obit completion bash

OptionShortDefaultDescription
--help-hfalsehelp for bash
--no-descriptionsnonefalsedisable completion descriptions

obit completion fish ​

Generate the autocompletion script for the fish shell.

Usage: obit completion fish [flags]

OptionShortDefaultDescription
--help-hfalsehelp for fish
--no-descriptionsnonefalsedisable completion descriptions

obit completion powershell ​

Generate the autocompletion script for powershell.

Usage: obit completion powershell [flags]

OptionShortDefaultDescription
--help-hfalsehelp for powershell
--no-descriptionsnonefalsedisable completion descriptions

obit completion zsh ​

Generate the autocompletion script for the zsh shell.

Usage: obit completion zsh [flags]

OptionShortDefaultDescription
--help-hfalsehelp for zsh
--no-descriptionsnonefalsedisable completion descriptions

obit config ​

Show the configuration file and effective settings (--create writes the defaults)

Usage: obit config [flags]

OptionShortDefaultDescription
--createnonefalsewrite a config file with the defaults
--dry-runnonefalsepreview what --max-size would change and purge without modifying files
--help-hfalsehelp for config
--languagenone""set the language: auto, en or zh-CN
--max-sizenone""set graveyard capacity limit (e.g. 5GB, 500MB, 0 or unlimited to disable)
--yesnonefalseapply a lower --max-size and purge oldest graves without prompting (agents: ask the user first)

obit config telemetry ​

Usage statistics: a random installation ID, version, OS, architecture, interface language and installation channel help measure installation counts and version use. No files, paths or commands are sent; IP addresses and user agents are not stored. Disable with obit config telemetry off or OBIT_TELEMETRY=0.

Usage: obit config telemetry on|off [flags]

OptionShortDefaultDescription
--help-hfalsehelp for telemetry

obit daemon ​

Control the background daemon (obitd)

Usage: obit daemon [command]

OptionShortDefaultDescription
--help-hfalsehelp for daemon

obit daemon disable ​

Remove the scheduled runner and the resident daemon

Usage: obit daemon disable [flags]

OptionShortDefaultDescription
--dry-runnonefalseonly print the changes
--help-hfalsehelp for disable

obit daemon enable ​

Enable the user scheduler (hourly with tray supervision, every 5 minutes otherwise) and the login tray on Windows

Usage: obit daemon enable [flags]

OptionShortDefaultDescription
--dry-runnonefalseonly print the changes
--help-hfalsehelp for enable
--residentnonefalseenable the tray without changing the scheduled fallback

obit daemon start ​

Start the daemon now

Usage: obit daemon start [flags]

OptionShortDefaultDescription
--help-hfalsehelp for start

obit daemon status ​

Show daemon state and the next expiry

Usage: obit daemon status [flags]

OptionShortDefaultDescription
--help-hfalsehelp for status
--jsonnonefalseprint JSON

obit daemon stop ​

Stop the daemon

Usage: obit daemon stop [flags]

OptionShortDefaultDescription
--help-hfalsehelp for stop

obit docker ​

Track Docker containers by immutable full ID and creation time. Expiry stops the container and retains its writable layer. Resurrection starts it. After [graveyard] retention_days, purge removes stopped containers without removing volumes. This also applies in recycle mode. Images, volumes and networks are preserved.

Usage: obit docker [command]

OptionShortDefaultDescription
--help-hfalsehelp for docker

obit docker add ​

Register one Docker container; expiry stops it

Usage: obit docker add <container name|ID> <lifespan> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for add
--jsonnonefalseprint JSON

obit docker list ​

List registered Docker containers

Usage: obit docker list [flags]

OptionShortDefaultDescription
--help-hfalsehelp for list
--jsonnonefalseprint JSON

obit doctor ​

Check installation, integrations and data; the only thing it writes is its report

Usage: obit doctor [flags]

OptionShortDefaultDescription
--help-hfalsehelp for doctor
--jsonnonefalseprint JSON
--opennonefalseopen the full HTML report in your default browser
--verbosenonefalseprint every check in full text, with agent capability details

obit extend ​

Push expiries back (counted from now if already due)

Usage: obit extend <id|path>... <duration> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for extend
--jsonnonefalseprint JSON

Examples:

text
obit extend 3 1d
obit extend debug.log 30m

obit git-clean ​

Bury the paths selected by git clean's dry run

Usage: obit git-clean [options] [--] [pathspec]... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for git-clean

obit graveyard ​

List what lies in the graveyard and can still be resurrected

Aliases: graveyard, graves Usage: obit graveyard [flags]

OptionShortDefaultDescription
--help-hfalsehelp for graveyard
--herenonefalseshow only original paths in the current directory and its descendants
--jsonnonefalseprint JSON

obit help ​

Help provides help for any command in the application.

Usage: obit help [command] [flags]

OptionShortDefaultDescription
--help-hfalsehelp for help

obit hook ​

Agent hook entry points (called by the agent, not by people)

Usage: obit hook [command]

OptionShortDefaultDescription
--help-hfalsehelp for hook

obit hook antigravity ​

Handle one antigravity hook event from stdin; errors fail open

Usage: obit hook antigravity [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for antigravity
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook audit ​

Show hook and delete-guard audit trails

Usage: obit hook audit [flags]

OptionShortDefaultDescription
--help-hfalsehelp for audit
--lines-n40number of lines per source

obit hook claude ​

Handle one claude hook event from stdin; errors fail open

Usage: obit hook claude [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for claude
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook cline ​

Handle one cline hook event from stdin; errors fail open

Usage: obit hook cline [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for cline
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook codebuddy ​

Handle one codebuddy hook event from stdin; errors fail open

Usage: obit hook codebuddy [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for codebuddy
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook codebuddy-ide ​

Handle one codebuddy-ide hook event from stdin; errors fail open

Usage: obit hook codebuddy-ide [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for codebuddy-ide
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook codex ​

Handle one codex hook event from stdin; errors fail open

Usage: obit hook codex [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for codex
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook copilot ​

Handle one copilot hook event from stdin; errors fail open

Usage: obit hook copilot [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for copilot
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook cursor ​

Handle one cursor hook event from stdin; errors fail open

Usage: obit hook cursor [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for cursor
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook deepseek-harness ​

Handle one deepseek-harness hook event from stdin; errors fail open

Usage: obit hook deepseek-harness [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for deepseek-harness
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook droid ​

Handle one droid hook event from stdin; errors fail open

Usage: obit hook droid [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for droid
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook gemini ​

Handle one gemini hook event from stdin; errors fail open

Usage: obit hook gemini [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for gemini
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook hermes ​

Handle one hermes hook event from stdin; errors fail open

Usage: obit hook hermes [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for hermes
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook kilocode ​

Handle one kilocode hook event from stdin; errors fail open

Usage: obit hook kilocode [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for kilocode
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook kimi ​

Handle one kimi hook event from stdin; errors fail open

Usage: obit hook kimi [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for kimi
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook lingma ​

Handle one lingma hook event from stdin; errors fail open

Usage: obit hook lingma [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for lingma
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook minimax-code ​

Handle one minimax-code hook event from stdin; errors fail open

Usage: obit hook minimax-code [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for minimax-code
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook omp ​

Handle one omp hook event from stdin; errors fail open

Usage: obit hook omp [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for omp
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook openclaw ​

Handle one openclaw hook event from stdin; errors fail open

Usage: obit hook openclaw [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for openclaw
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook opencode ​

Handle one opencode hook event from stdin; errors fail open

Usage: obit hook opencode [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for opencode
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook pi ​

Handle one pi hook event from stdin; errors fail open

Usage: obit hook pi [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for pi
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook qoder ​

Handle one qoder hook event from stdin; errors fail open

Usage: obit hook qoder [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for qoder
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook qoder-cn ​

Handle one qoder-cn hook event from stdin; errors fail open

Usage: obit hook qoder-cn [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for qoder-cn
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook trae ​

Handle one trae hook event from stdin; errors fail open

Usage: obit hook trae [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for trae
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook trae-cn ​

Handle one trae-cn hook event from stdin; errors fail open

Usage: obit hook trae-cn [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for trae-cn
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook vibe ​

Handle one vibe hook event from stdin; errors fail open

Usage: obit hook vibe [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for vibe
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook zcode ​

Handle one zcode hook event from stdin; errors fail open

Usage: obit hook zcode [flags]

OptionShortDefaultDescription
--eventnone""host event name when omitted from the payload
--help-hfalsehelp for zcode
--notice-onlynonefalsedeliver advisory context without the deletion guard

obit hook finish ​

Compute a session's leftovers (started in the background by the hooks)

Usage: obit hook finish [flags]

OptionShortDefaultDescription
--help-hfalsehelp for finish
--projectnone""project root
--sessionnone""agent session id

obit init ​

Install (or --uninstall) FileTomb's hooks and instructions for an agent

Usage: obit init [flags]

OptionShortDefaultDescription
--agentnone[claude]agents to integrate with (repeat or comma-separate; default: claude)
--context-menunonefalseinstall file manager context menus (enabled by default)
--dry-runnonefalseonly print the changes
--formatnone"text"output format for --show: text or markdown (agent coverage)
--global-gfalseuser-wide instead of this project
--guard-rmnonefalsedeny supported deletion commands with restorable obit alternatives
--help-hfalsehelp for init
--mcpnonefalseregister the FileTomb MCP stdio server
--no-context-menunonefalseskip file manager context menus
--no-shortcutsnonefalseskip Start menu and desktop shortcuts
--no-skillnonefalseleave the FileTomb Agent Skill unchanged
--shownonefalseshow what is installed
--skillnonefalseinstall the FileTomb Agent Skill (enabled by default)
--uninstallnonefalseremove what FileTomb added
--verbosenonefalsewith --show: list every agent's capability details
--yesnonefalseapply without asking

Examples:

text
obit init -g  # Claude Code, for every project (~/.claude)
obit init  # Claude Code, this project only (.claude/)
obit init -g --agent codex  # Codex (~/.codex/hooks.json + AGENTS.md)
obit init -g --uninstall  # remove only what FileTomb added
obit init -g --show  # what is installed
obit init --show --format markdown > docs/agents.md

obit list ​

Show tracked paths and Docker containers, soonest expiry first

Aliases: list, ls Usage: obit list [flags]

OptionShortDefaultDescription
--help-hfalsehelp for list
--jsonnonefalseprint JSON

obit log ​

Show the audit log of everything FileTomb did

Usage: obit log [flags]

OptionShortDefaultDescription
--help-hfalsehelp for log
--jsonnonefalseprint JSON
--lines-n20number of events

obit mcp ​

Serve FileTomb tools over MCP stdio

Usage: obit mcp [flags]

OptionShortDefaultDescription
--help-hfalsehelp for mcp

obit mktemp ​

Create a temporary directory that buries itself; prints its path

Usage: obit mktemp <lifespan> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for mktemp
--jsonnonefalseprint JSON
--namenone"tmp"name prefix for the directory
--sessionnone""agent session the directory belongs to

Examples:

text
dir=$(obit mktemp 1d)
obit mktemp 2h --name screenshots

obit nerdctl ​

Track standalone non-Compose, non-Kubernetes nerdctl containers (containerd / Rancher Desktop) by immutable full ID, namespace and creation time. Expiry stops the container and retains its writable layer. Resurrection starts it. After [graveyard] retention_days, purge removes stopped containers without removing volumes or images. Kubernetes (k8s.io), Compose, service and --rm containers are refused.

Usage: obit nerdctl [command]

OptionShortDefaultDescription
--help-hfalsehelp for nerdctl

obit nerdctl add ​

Register one standalone nerdctl container; expiry stops it

Usage: obit nerdctl add <container name|ID> <lifespan> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for add
--jsonnonefalseprint JSON

obit nerdctl list ​

List registered standalone nerdctl containers

Usage: obit nerdctl list [flags]

OptionShortDefaultDescription
--help-hfalsehelp for list
--jsonnonefalseprint JSON

obit podman ​

Track standalone non-Pod Podman containers by immutable full ID and creation time. Expiry stops the container and retains its writable layer. Resurrection starts it. After [graveyard] retention_days, purge removes stopped containers without removing volumes or images. Pod members and --rm containers are refused.

Usage: obit podman [command]

OptionShortDefaultDescription
--help-hfalsehelp for podman

obit podman add ​

Register one standalone Podman container; expiry stops it

Usage: obit podman add <container name|ID> <lifespan> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for add
--jsonnonefalseprint JSON

obit podman list ​

List registered standalone Podman containers

Usage: obit podman list [flags]

OptionShortDefaultDescription
--help-hfalsehelp for list
--jsonnonefalseprint JSON

obit proposals ​

Registrations waiting for your approval, and those made without asking

Usage: obit proposals [flags]

OptionShortDefaultDescription
--help-hfalsehelp for proposals
--jsonnonefalseprint JSON

obit purge ​

Delete selected or expired file burials. --all and explicit references skip retention, so they ask first; outside a terminal they require --yes. Docker containers require elapsed [graveyard] retention_days, including with --all or an explicit ID; running containers are treated as resurrected. Docker removal preserves volumes and never forces removal. Container handling is identical in recycle mode.

Aliases: purge, cremate Usage: obit purge [id|original path]... [flags]

OptionShortDefaultDescription
--allnonefalsepurge every burial, not only those past their retention
--dry-runnonefalseonly show what would happen
--help-hfalsehelp for purge
--jsonnonefalseprint JSON
--yesnonefalsepurge --all or the selected burials without asking (agents: ask the user first)

obit reject ​

Reject proposals

Usage: obit reject <proposal id>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for reject
--jsonnonefalseprint JSON

obit remove-item ​

Bury filesystem items using a limited subset of PowerShell parameters.

Usage: obit remove-item [-Recurse] [-Force] [-Path|-LiteralPath] <path> [flags]

OptionShortDefaultDescription
--help-hfalsehelp for remove-item

obit resurrect ​

Restore files without overwriting; start buried Docker containers by ID

Aliases: resurrect, raise Usage: obit resurrect <id|original path>... | --last [flags]

OptionShortDefaultDescription
--help-hfalsehelp for resurrect
--jsonnonefalseprint JSON
--lastnonefalserestore the latest deletion batch in the current session or Git project

obit rm ​

Move paths into the graveyard now (restore with obit resurrect)

Usage: obit rm [options] <path>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for rm

obit rmdir ​

Move paths into the graveyard now (restore with obit resurrect)

Usage: obit rmdir [options] <path>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for rmdir

obit rules ​

Show the rules in force here: built-ins plus the project's .obitrules once trusted

Usage: obit rules [flags]

OptionShortDefaultDescription
--help-hfalsehelp for rules
--jsonnonefalseprint JSON

obit rules apply ​

Register paths by rule (tracked files are never registered)

Usage: obit rules apply <path>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for apply
--jsonnonefalseprint JSON
--sessionnone""agent session the paths came from

obit rules check ​

Show what the rules would register for paths (changes nothing)

Usage: obit rules check <path>... [flags]

OptionShortDefaultDescription
--help-hfalsehelp for check
--jsonnonefalseprint JSON
--sessionnone""agent session the paths came from

obit stats ​

What FileTomb has done: tracked, buried, space reclaimed, resurrections

Aliases: stats, eulogy Usage: obit stats [flags]

OptionShortDefaultDescription
--help-hfalsehelp for stats
--jsonnonefalseprint JSON

obit sweep ​

Reap now: bury everything that is due without waiting for the runner

Aliases: sweep, reap Usage: obit sweep [flags]

OptionShortDefaultDescription
--dry-runnonefalseonly show what would happen
--help-hfalsehelp for sweep
--jsonnonefalseprint JSON

obit trust ​

Review and trust the project's .obitrules (edits need a new review)

Usage: obit trust [rules file] [flags]

OptionShortDefaultDescription
--help-hfalsehelp for trust
--yesnonefalsetrust without asking (only after reviewing the rules)

obit uninstall ​

Remove FileTomb integrations and background services; keep data by default

Usage: obit uninstall [flags]

OptionShortDefaultDescription
--dry-runnonefalseonly print the uninstall plan; do not change files or services
--help-hfalsehelp for uninstall
--purge-datanonefalsepermanently purge listed graves and remove owned data; keep unknown files
--yesnonefalseconfirm the plan (and data purge only when --purge-data is also given)

obit untrust ​

Stop applying the project's .obitrules

Usage: obit untrust [rules file] [flags]

OptionShortDefaultDescription
--help-hfalsehelp for untrust

obit update ​

Check or install a stable update

Usage: obit update [flags]

OptionShortDefaultDescription
--applynonefalsedownload, verify and install the cached newer stable release (a manual install replaces only FileTomb's own programs)
--checknonefalsecheck GitHub now, including when automatic checks are disabled
--help-hfalsehelp for update
--relaunch-guinonefalsereopen the desktop window after updating (Windows)
--wait-pidnone0wait for this process to exit before updating (Windows)

obit watch ​

Give each top-level child of a folder its own lifespan

Usage: obit watch <directory> <lifespan> | watch --list | watch --remove <directory> [flags]

OptionShortDefaultDescription
--agenone"first-seen"age basis: first-seen or modified (requires approval)
--clear-exclusionnone0explicitly clear this exclusion ID (with --policy)
--help-hfalsehelp for watch
--jsonnonefalseprint JSON
--listnonefalselist folder policies
--no-daemonnonefalsedo not start the background runner
--policynone0policy ID whose exclusion should be cleared
--removenone""remove a policy and cancel its registered lifespans
--remove-idnone0remove a folder policy by ID, including missing paths

MIT