1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 09:47:21 +01:00

sync script for cloud storage

This commit is contained in:
Matthias Kretschmann 2016-11-03 22:25:16 +01:00
parent 7e178a29b5
commit 324d503983
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 18 additions and 0 deletions

17
bin/sync-cloud.sh Executable file
View File

@ -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

View File

@ -32,6 +32,7 @@ brew install GraphicsMagick
brew install tor brew install tor
brew install gsl brew install gsl
brew install mas brew install mas
brew install rclone
# Link gpg to gpg2 # Link gpg to gpg2
ln -s /usr/local/bin/gpg2 /usr/local/bin/gpg ln -s /usr/local/bin/gpg2 /usr/local/bin/gpg