diff --git a/bin/sync-cloud.sh b/bin/sync-cloud.sh new file mode 100755 index 0000000..d5fda70 --- /dev/null +++ b/bin/sync-cloud.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# +# Prerequisite: +# rclone configured with remote Amazon Cloud Drive named `amazon` +# +# brew install rclone +# rclone config + +# http://rclone.org/commands/rclone_copy/ +# http://rclone.org/commands/rclone_sync/ + +# Sync Movies +rclone sync $MOVIES_DIR amazon:/Movies --update + +# Sync TV Shows +rclone sync $TVSHOWS_DIR amazon:/TV\ Shows --update diff --git a/brew.sh b/brew.sh index 5fa97ec..f2cbae7 100755 --- a/brew.sh +++ b/brew.sh @@ -32,6 +32,7 @@ brew install GraphicsMagick brew install tor brew install gsl brew install mas +brew install rclone # Link gpg to gpg2 ln -s /usr/local/bin/gpg2 /usr/local/bin/gpg