kpsync.sh | ●●●●● patch | view | raw | blame | history |
kpsync.sh
New file @@ -0,0 +1,11 @@ #!/bin/bash if [ "$1" = "pull" ]; then rclone sync GoogleDrive:/Database.kdbx /tmp/ elif [ "$1" = "push" ]; then rclone sync /tmp/Database.kdbx GoogleDrive:/ rm -rf /tmp/Database.kdbx else echo "Usage: $0 pull|push" exit 1 fi