Detect if password database is not present
parent
1df3dd3042
commit
57b6a468b1
|
@ -8,7 +8,7 @@
|
||||||
# `systemctl --user enable save-passwddb.service`
|
# `systemctl --user enable save-passwddb.service`
|
||||||
# `systemctl --user enable save-passwddb.timer`
|
# `systemctl --user enable save-passwddb.timer`
|
||||||
|
|
||||||
if [ -f "$HOME/doc/passswd.kdbx" ]; then
|
if [ -f "$HOME/doc/passwd.kdbx" ]; then
|
||||||
rclone copy "$HOME/doc/passwd.kdbx" google-drive:
|
rclone copy "$HOME/doc/passwd.kdbx" google-drive:
|
||||||
else
|
else
|
||||||
echo "Password database not found, use 'rclone copy google-drive:passwd.kdbx $HOME/doc/passwd.kdbx' to restore"
|
echo "Password database not found, use 'rclone copy google-drive:passwd.kdbx $HOME/doc/passwd.kdbx' to restore"
|
||||||
|
|
Loading…
Reference in New Issue