saferm v0.8.1 /saferm undelete
On this page

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

#saferm undelete

Restore a previously archived file back to its original path

Effect: mutating

#Flags

Flags
NameShortTypeDefaultEnvDescription
--force-overwriteboolOverwrite any existing file at the restoration destination

#Arguments

Arguments
NameRequiredDescription
targetyesNumeric database ID or original file path of the item to restore

#Grants

Grants
KindNameReason
proc_mutategit-indexa restored file is staged so the working tree and the index agree again
Search