Last active
August 26, 2019 15:30
-
-
Save okhlybov/5d8db5273bbfa445b16a29447c424435 to your computer and use it in GitHub Desktop.
Cron-friendly shell script to fetch changes to the Dropbox folder and make notification on detected changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Cron-friendly shell script to fetch changes to the Dropbox folder and make notification on detected changes | |
# Uses rclone, KDE | |
{ rclone --verbose copy dropbox: ~/Dropbox 2>&1 | grep -e 'Transferred.*%'; } && kdialog --passivepopup 'Dropbox changes detected' | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment