Updated
On this page
Reference for the saferm delete command — usage, flags, arguments, and examples for the delete subcommand of the saferm CLI.
#saferm delete
Archive files safely (instead of rm)
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--recursive | -r | bool | Allow deletion of directories | ||
--force | -f | bool | Ignore nonexistent files, skip prompts | ||
--interactive | -i | bool | Prompt before each deletion | ||
--description | str | Why this deletion is happening | |||
--command | str | The original bash command that triggered this | |||
--meta | str | Additional metadata as key=value |
#Arguments
| Name | Required | Description |
|---|---|---|
files | yes | Files or directories to archive |