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
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
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
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 onlyRules and proposals
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 itselfFolder policies, Docker and Podman
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 listUse 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
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 disableWith 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
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
| Variable | Effect |
|---|---|
OBIT_DISABLED=1 | turn hooks off temporarily |
OBIT_TELEMETRY=0, DO_NOT_TRACK=1 | disable usage reporting for this process; CI does not report |
OBIT_GUARD_RM=0 | turn the delete guard off temporarily |
OBIT_HOOK_AUDIT=1 | record what each hook received and did |
OBIT_TRUST_PROJECT_RULES=1 | trust a project's .obitrules in CI |
OBIT_HOME, OBIT_CONFIG_DIR, OBIT_USER_HOME | move 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for obit |
--version | -v | false | version 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]
| Option | Short | Default | Description |
|---|---|---|---|
--at | none | "" | expire at a local time: "2006-01-02 15:04", "2006-01-02" or "15:04" |
--docker-volume | none | false | treat operands as Docker volume names |
--force | none | false | allow folders that contain a .git repository |
--help | -h | false | help for add |
--json | none | false | print JSON |
--no-daemon | none | false | do not start the background daemon |
--note | none | "" | free-text note shown in the list |
Examples:
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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for approve |
--json | none | false | print JSON |
obit bury
Move paths into the graveyard now (restore with obit resurrect)
Usage: obit bury <path>... [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--docker-volume | none | false | treat operands as Docker volume names |
--force | none | false | allow folders that contain a .git repository |
--help | -h | false | help for bury |
--json | none | false | print JSON |
--note | none | "" | 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for cancel |
--json | none | false | print JSON |
obit completion
Generate the autocompletion script for obit for the specified shell.
Usage: obit completion [command]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for completion |
obit completion bash
Generate the autocompletion script for the bash shell.
Usage: obit completion bash
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for bash |
--no-descriptions | none | false | disable completion descriptions |
obit completion fish
Generate the autocompletion script for the fish shell.
Usage: obit completion fish [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for fish |
--no-descriptions | none | false | disable completion descriptions |
obit completion powershell
Generate the autocompletion script for powershell.
Usage: obit completion powershell [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for powershell |
--no-descriptions | none | false | disable completion descriptions |
obit completion zsh
Generate the autocompletion script for the zsh shell.
Usage: obit completion zsh [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for zsh |
--no-descriptions | none | false | disable completion descriptions |
obit config
Show the configuration file and effective settings (--create writes the defaults)
Usage: obit config [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--create | none | false | write a config file with the defaults |
--dry-run | none | false | preview what --max-size would change and purge without modifying files |
--help | -h | false | help for config |
--language | none | "" | set the language: auto, en or zh-CN |
--max-size | none | "" | set graveyard capacity limit (e.g. 5GB, 500MB, 0 or unlimited to disable) |
--yes | none | false | apply 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for telemetry |
obit daemon
Control the background daemon (obitd)
Usage: obit daemon [command]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for daemon |
obit daemon disable
Remove the scheduled runner and the resident daemon
Usage: obit daemon disable [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--dry-run | none | false | only print the changes |
--help | -h | false | help 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]
| Option | Short | Default | Description |
|---|---|---|---|
--dry-run | none | false | only print the changes |
--help | -h | false | help for enable |
--resident | none | false | enable the tray without changing the scheduled fallback |
obit daemon start
Start the daemon now
Usage: obit daemon start [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for start |
obit daemon status
Show daemon state and the next expiry
Usage: obit daemon status [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for status |
--json | none | false | print JSON |
obit daemon stop
Stop the daemon
Usage: obit daemon stop [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for docker |
obit docker add
Register one Docker container; expiry stops it
Usage: obit docker add <container name|ID> <lifespan> [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for add |
--json | none | false | print JSON |
obit docker list
List registered Docker containers
Usage: obit docker list [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for list |
--json | none | false | print JSON |
obit doctor
Check installation, integrations and data; the only thing it writes is its report
Usage: obit doctor [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for doctor |
--json | none | false | print JSON |
--open | none | false | open the full HTML report in your default browser |
--verbose | none | false | print 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for extend |
--json | none | false | print JSON |
Examples:
obit extend 3 1d
obit extend debug.log 30mobit git-clean
Bury the paths selected by git clean's dry run
Usage: obit git-clean [options] [--] [pathspec]... [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for git-clean |
obit graveyard
List what lies in the graveyard and can still be resurrected
Aliases: graveyard, graves Usage: obit graveyard [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for graveyard |
--here | none | false | show only original paths in the current directory and its descendants |
--json | none | false | print JSON |
obit help
Help provides help for any command in the application.
Usage: obit help [command] [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for help |
obit hook
Agent hook entry points (called by the agent, not by people)
Usage: obit hook [command]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for hook |
obit hook antigravity
Handle one antigravity hook event from stdin; errors fail open
Usage: obit hook antigravity [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for antigravity |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook audit
Show hook and delete-guard audit trails
Usage: obit hook audit [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for audit |
--lines | -n | 40 | number of lines per source |
obit hook claude
Handle one claude hook event from stdin; errors fail open
Usage: obit hook claude [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for claude |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook cline
Handle one cline hook event from stdin; errors fail open
Usage: obit hook cline [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for cline |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook codebuddy
Handle one codebuddy hook event from stdin; errors fail open
Usage: obit hook codebuddy [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for codebuddy |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for codebuddy-ide |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook codex
Handle one codex hook event from stdin; errors fail open
Usage: obit hook codex [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for codex |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook copilot
Handle one copilot hook event from stdin; errors fail open
Usage: obit hook copilot [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for copilot |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook cursor
Handle one cursor hook event from stdin; errors fail open
Usage: obit hook cursor [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for cursor |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for deepseek-harness |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook droid
Handle one droid hook event from stdin; errors fail open
Usage: obit hook droid [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for droid |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook gemini
Handle one gemini hook event from stdin; errors fail open
Usage: obit hook gemini [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for gemini |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook hermes
Handle one hermes hook event from stdin; errors fail open
Usage: obit hook hermes [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for hermes |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook kilocode
Handle one kilocode hook event from stdin; errors fail open
Usage: obit hook kilocode [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for kilocode |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook kimi
Handle one kimi hook event from stdin; errors fail open
Usage: obit hook kimi [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for kimi |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook lingma
Handle one lingma hook event from stdin; errors fail open
Usage: obit hook lingma [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for lingma |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for minimax-code |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook omp
Handle one omp hook event from stdin; errors fail open
Usage: obit hook omp [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for omp |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook openclaw
Handle one openclaw hook event from stdin; errors fail open
Usage: obit hook openclaw [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for openclaw |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook opencode
Handle one opencode hook event from stdin; errors fail open
Usage: obit hook opencode [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for opencode |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook pi
Handle one pi hook event from stdin; errors fail open
Usage: obit hook pi [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for pi |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook qoder
Handle one qoder hook event from stdin; errors fail open
Usage: obit hook qoder [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for qoder |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for qoder-cn |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook trae
Handle one trae hook event from stdin; errors fail open
Usage: obit hook trae [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for trae |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for trae-cn |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook vibe
Handle one vibe hook event from stdin; errors fail open
Usage: obit hook vibe [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for vibe |
--notice-only | none | false | deliver advisory context without the deletion guard |
obit hook zcode
Handle one zcode hook event from stdin; errors fail open
Usage: obit hook zcode [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--event | none | "" | host event name when omitted from the payload |
--help | -h | false | help for zcode |
--notice-only | none | false | deliver 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for finish |
--project | none | "" | project root |
--session | none | "" | agent session id |
obit init
Install (or --uninstall) FileTomb's hooks and instructions for an agent
Usage: obit init [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--agent | none | [claude] | agents to integrate with (repeat or comma-separate; default: claude) |
--context-menu | none | false | install file manager context menus (enabled by default) |
--dry-run | none | false | only print the changes |
--format | none | "text" | output format for --show: text or markdown (agent coverage) |
--global | -g | false | user-wide instead of this project |
--guard-rm | none | false | deny supported deletion commands with restorable obit alternatives |
--help | -h | false | help for init |
--mcp | none | false | register the FileTomb MCP stdio server |
--no-context-menu | none | false | skip file manager context menus |
--no-shortcuts | none | false | skip Start menu and desktop shortcuts |
--no-skill | none | false | leave the FileTomb Agent Skill unchanged |
--show | none | false | show what is installed |
--skill | none | false | install the FileTomb Agent Skill (enabled by default) |
--uninstall | none | false | remove what FileTomb added |
--verbose | none | false | with --show: list every agent's capability details |
--yes | none | false | apply without asking |
Examples:
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.mdobit list
Show tracked paths and Docker containers, soonest expiry first
Aliases: list, ls Usage: obit list [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for list |
--json | none | false | print JSON |
obit log
Show the audit log of everything FileTomb did
Usage: obit log [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for log |
--json | none | false | print JSON |
--lines | -n | 20 | number of events |
obit mcp
Serve FileTomb tools over MCP stdio
Usage: obit mcp [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for mcp |
obit mktemp
Create a temporary directory that buries itself; prints its path
Usage: obit mktemp <lifespan> [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for mktemp |
--json | none | false | print JSON |
--name | none | "tmp" | name prefix for the directory |
--session | none | "" | agent session the directory belongs to |
Examples:
dir=$(obit mktemp 1d)
obit mktemp 2h --name screenshotsobit 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for nerdctl |
obit nerdctl add
Register one standalone nerdctl container; expiry stops it
Usage: obit nerdctl add <container name|ID> <lifespan> [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for add |
--json | none | false | print JSON |
obit nerdctl list
List registered standalone nerdctl containers
Usage: obit nerdctl list [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for list |
--json | none | false | print 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for podman |
obit podman add
Register one standalone Podman container; expiry stops it
Usage: obit podman add <container name|ID> <lifespan> [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for add |
--json | none | false | print JSON |
obit podman list
List registered standalone Podman containers
Usage: obit podman list [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for list |
--json | none | false | print JSON |
obit proposals
Registrations waiting for your approval, and those made without asking
Usage: obit proposals [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for proposals |
--json | none | false | print 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]
| Option | Short | Default | Description |
|---|---|---|---|
--all | none | false | purge every burial, not only those past their retention |
--dry-run | none | false | only show what would happen |
--help | -h | false | help for purge |
--json | none | false | print JSON |
--yes | none | false | purge --all or the selected burials without asking (agents: ask the user first) |
obit reject
Reject proposals
Usage: obit reject <proposal id>... [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for reject |
--json | none | false | print JSON |
obit remove-item
Bury filesystem items using a limited subset of PowerShell parameters.
Usage: obit remove-item [-Recurse] [-Force] [-Path|-LiteralPath] <path> [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for resurrect |
--json | none | false | print JSON |
--last | none | false | restore 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for rm |
obit rmdir
Move paths into the graveyard now (restore with obit resurrect)
Usage: obit rmdir [options] <path>... [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for rmdir |
obit rules
Show the rules in force here: built-ins plus the project's .obitrules once trusted
Usage: obit rules [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for rules |
--json | none | false | print JSON |
obit rules apply
Register paths by rule (tracked files are never registered)
Usage: obit rules apply <path>... [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for apply |
--json | none | false | print JSON |
--session | none | "" | 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for check |
--json | none | false | print JSON |
--session | none | "" | agent session the paths came from |
obit stats
What FileTomb has done: tracked, buried, space reclaimed, resurrections
Aliases: stats, eulogy Usage: obit stats [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for stats |
--json | none | false | print JSON |
obit sweep
Reap now: bury everything that is due without waiting for the runner
Aliases: sweep, reap Usage: obit sweep [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--dry-run | none | false | only show what would happen |
--help | -h | false | help for sweep |
--json | none | false | print JSON |
obit trust
Review and trust the project's .obitrules (edits need a new review)
Usage: obit trust [rules file] [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for trust |
--yes | none | false | trust without asking (only after reviewing the rules) |
obit uninstall
Remove FileTomb integrations and background services; keep data by default
Usage: obit uninstall [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--dry-run | none | false | only print the uninstall plan; do not change files or services |
--help | -h | false | help for uninstall |
--purge-data | none | false | permanently purge listed graves and remove owned data; keep unknown files |
--yes | none | false | confirm 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]
| Option | Short | Default | Description |
|---|---|---|---|
--help | -h | false | help for untrust |
obit update
Check or install a stable update
Usage: obit update [flags]
| Option | Short | Default | Description |
|---|---|---|---|
--apply | none | false | download, verify and install the cached newer stable release (a manual install replaces only FileTomb's own programs) |
--check | none | false | check GitHub now, including when automatic checks are disabled |
--help | -h | false | help for update |
--relaunch-gui | none | false | reopen the desktop window after updating (Windows) |
--wait-pid | none | 0 | wait 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]
| Option | Short | Default | Description |
|---|---|---|---|
--age | none | "first-seen" | age basis: first-seen or modified (requires approval) |
--clear-exclusion | none | 0 | explicitly clear this exclusion ID (with --policy) |
--help | -h | false | help for watch |
--json | none | false | print JSON |
--list | none | false | list folder policies |
--no-daemon | none | false | do not start the background runner |
--policy | none | 0 | policy ID whose exclusion should be cleared |
--remove | none | "" | remove a policy and cancel its registered lifespans |
--remove-id | none | 0 | remove a folder policy by ID, including missing paths |