Add rtic
This commit is contained in:
parent
5f9ff85aa6
commit
7be1b3ad5a
2 changed files with 10 additions and 2 deletions
8
local/bin/rtic
Executable file
8
local/bin/rtic
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
export AWS_ACCESS_KEY_ID=$(pass Linux/restic-aws-key-id)
|
||||
export AWS_SECRET_ACCESS_KEY=$(pass Linux/restic-aws-secret-access-key)
|
||||
export RESTIC_REPOSITORY=$(pass Linux/restic-repository)
|
||||
export RESTIC_PASSWORD=$(pass Linux/restic-password)
|
||||
|
||||
exec restic "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue