rustic icon indicating copy to clipboard operation
rustic copied to clipboard

post-delete-command not executed when updating config

Open jiripospisil opened this issue 8 months ago • 1 comments

[repository.options]
post-create-command = "par2create -qq -n1 -r5 %file"
post-delete-command = "sh -c \"rm -f %file*.par2\""
rustic init
rustic config --set-compression 2
Could not create "/repo/config.vol0+2.par2": File already exists.
[WARN] post-create: Error: Command was not successful: `par2create -qq -n1 -r5 /repo/config` failed with status `exit status: 6`. (kind: related to running an external command)
saved new config

jiripospisil avatar Feb 25 '25 19:02 jiripospisil