1 2 3 4 5 6 7
#!/bin/sh if ! mount | grep -q /media/persistent; then exit 1 fi rclone --config /etc/rclone.conf sync /media/persistent crypt:partofme