saferm v0.8.1 /saferm purge
On this page

Reference for the saferm purge command — usage, flags, arguments, and examples for the purge subcommand of the saferm CLI.

#saferm purge

Permanently destroy archived items and free disk space

Effect: mutating · consequential (prompts before running; --approve-consequential skips)

#Flags

Flags
NameShortTypeDefaultEnvDescription
--older-thanstrPurge items older than duration (e.g., 30d, 24h, 1w)
--larger-thanstrOnly purge items larger than this size (e.g. 100MB, 1GB)
--allboolSelect all archived items for permanent destruction

#Arguments

Arguments
NameRequiredDescription
idsnoNumeric database IDs of specific items to permanently destroy

#Grants

Grants
KindNameReason
file_writepurgepurging destroys the archived content permanently; undelete cannot bring it back
Search