1 2 3 4 5 6
#!/bin/bash set -o errexit echo "backing up gdrive" >&2 rclone sync --verbose ~/gdrive gdrive:laptop echo "backup successful" >&2