mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2021-08-31 5ce9b0c04ee5b5e9dc5b2ae9b99a70a4857ae666
commit | author | age
ae94c2 1 #!/bin/bash
JG 2
3 if [ "$1" = "pull" ]; then
4     rclone sync GoogleDrive:/Database.kdbx /tmp/
5 elif [ "$1" = "push" ]; then
6     rclone sync /tmp/Database.kdbx GoogleDrive:/
7     rm -rf /tmp/Database.kdbx
8 else
9     echo "Usage: $0 pull|push"
10     exit 1
11 fi