aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar blueingreen68 <blueingreen68@gmail.com>2024-01-22 16:02:13 +0500
committerLibravatar blueingreen68 <blueingreen68@gmail.com>2024-01-22 16:02:13 +0500
commit9b6884cdbc96bdd0ab0648b454b1ad0f9e21edaa (patch)
tree02fde84191d6e70fbef6d389fcad1eacbdee10ef
parent160b607686d81133ca9adade19180e8fba2c9c4f (diff)
update getKeepassFile.sh
-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