#!/usr/bin/env bash # # SCRIPT NAME: # sync-drive # # AUTHOR: # Severin Kaderli # # DESCRIPTION: # Syncs Google Drive folder # # USAGE: # ./sync-drive . /home/severin/.local/bin/utils if [ ! -d "/home/severin/documents" ]; then exit fi print_time_log "sync-drive" "Syncing with Google Drive" grive -d -p /home/severin/documents/