Scroll to navigation

remove(1) General Commands Manual remove(1)

NAME

remove - Remove sessions. Runs interactively if no ID, name, or regex is provided.

SYNOPSIS

remove [-n|--name] [--session-id] [--path] [-r|--regex] [-h|--help]

DESCRIPTION

Remove sessions. Runs interactively if no ID, name, or regex is provided.

OPTIONS

Specify a name for your chat session. When used with --resume, will resume this specific session if it exists.
Specify a session ID to resume. Requires --resume.
Legacy parameter for backward compatibility. Extracts session ID from the file path (e.g., '/path/to/20250325_200615. jsonl' -> '20250325_200615').
Regex for removing matched sessions (optional)
Print help (see a summary with '-h')

SEE ALSO

goose(1), goose-session(1), goose-session-diagnostics(1), goose-session-export(1), goose-session-import(1), goose-session-list(1)

remove