Skip to content

Commit

Permalink
cloudstor-sync.sh: add an exclude file
Browse files Browse the repository at this point in the history
don't need to sync caches, .git/ folders, etc.
  • Loading branch information
benswift committed Jul 17, 2020
1 parent 00d8c7b commit ce4cd0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions scripts/cloudstor-exclude-files.txt
@@ -0,0 +1,12 @@
# sync the working tree, but don't sync the git repos (since these are all
hosted anyway)
.git/

# langugage-specific caches & whatnot
.tox/
.jekyll-cache/
node_modules/
.asset-cache/

# because iCloud sync handles this
/Pictures/
2 changes: 1 addition & 1 deletion scripts/cloudstor-sync.sh
@@ -1,3 +1,3 @@
#!/bin/bash

rclone sync --progress ~/Documents cloudstor:smithy-rclone/Documents
rclone sync --progress --exclude-from ~/.dotfiles/scripts/cloudstor-exclude-files.txt ~/Documents cloudstor:smithy-rclone/Documents

0 comments on commit ce4cd0d

Please sign in to comment.