mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-12-22 09:13:22 +01:00
sync script for cloud storage
This commit is contained in:
parent
7e178a29b5
commit
324d503983
17
bin/sync-cloud.sh
Executable file
17
bin/sync-cloud.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user