Skip to main content
On this page

Kater CLI Delete and restore trash

kater trash

Lists what was deleted, and fixes what still reads it.

The Trash holds every delete from Kater, Files, kater rm, a push, an agent and VS Code, for 30 days. Needs a fix lists each deleted object that something still reads, with Kater’s fix.

Commands

CommandWhat it does
kater trash listList the Trash, or with --fix what still reads something deleted.
kater trash fixFix what reads a deleted object with Kater’s fix.

Examples

Terminal window
# List the Trash, the newest first
kater trash list
# List what still reads something deleted, with Kater's fix
kater trash list --fix
# See Kater's fix for one of them. Nothing changes.
kater trash fix 3f1c9a20-5b7e-4d21-9a0e-1c2d3e4f5a6b --dry-run

See also