aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]getKeepassFile.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/getKeepassFile.sh b/getKeepassFile.sh
index a6b6815..153d302 100644..100755
--- a/getKeepassFile.sh
+++ b/getKeepassFile.sh
@@ -13,15 +13,21 @@ setStatusE false
getKdbxFile () {
read -r passwordFileLink < <(yadisk-direct https://yadi.sk/d/o4TMFnHFobxTsw)
- wget "$passwordFileLink" -O "$dirArchIsoFiles"/Passwords.kdbx
+ wget "$passwordFileLink" -O ~/Passwords.kdbx
}
openKeepass () {
setStatusE true
- keepassxc-cli clip "$dirArchIsoFiles"/Passwords.kdbx github 0 -a token-cli
+ keepassxc-cli clip ~/Passwords.kdbx github 0 -a token-cli
}
+# pipx install wldhx.yadisk-direct
+# pipx ensurepath
+# source ~/.bashrc
+
+getKdbxFile
+
while :
do
openKeepass