.restic/restic-do: Fix date command
parent
4f5431f90c
commit
814185f3b7
|
@ -11,7 +11,7 @@ export AWS_ACCESS_KEY_ID=$(pash show personal-backups/aws-key-id)
|
||||||
export AWS_SECRET_ACCESS_KEY=$(pash show personal-backups/aws-access-key)
|
export AWS_SECRET_ACCESS_KEY=$(pash show personal-backups/aws-access-key)
|
||||||
|
|
||||||
repo=$(cat ~/.dotfiles/.restic/.repo-name)
|
repo=$(cat ~/.dotfiles/.restic/.repo-name)
|
||||||
script_started=$(date +%Y-%M-%d_%H%M%S)
|
script_started=$(date +%Y-%m-%d_%H%M%S)
|
||||||
|
|
||||||
# $RESTIC_PASSWORD_FILE or $RESTIC_PASSWORD_COMMAND
|
# $RESTIC_PASSWORD_FILE or $RESTIC_PASSWORD_COMMAND
|
||||||
if [[ -f "$HOME/.dotfiles/.restic/.repo-pass" ]]; then
|
if [[ -f "$HOME/.dotfiles/.restic/.repo-pass" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue