Skip to content

Instantly share code, notes, and snippets.

@earlvanze
earlvanze / rclone-google-drive.sh
Last active July 25, 2023 05:14
Bash script for backing up to Google Drive using rclone with "nice" on a Synology DiskStation NAS
#Here's my bash script using "nice" for CPU prioritization on a Synology DiskStation NAS:
#!/bin/bash
echo "Backing up server folder to Google Drive."
#echo
# run rclone using nice, with config options
# >> appends to log file
# 2>&1 silences all output
# & runs in background