auto-backup directory creation
This commit is contained in:
parent
b05e714ae7
commit
850755ee13
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ pkgs.writeShellApplication {
|
|||
# Archive salvation
|
||||
SRC=$DST
|
||||
DST="${config.dest}/${baseNameOf path}.tar.enc"
|
||||
mkdir -p ${config.dest}
|
||||
echo "Saving $SRC to $DST."
|
||||
${config.salvation.command}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue