Skip to content

Instantly share code, notes, and snippets.

@scheasbro
scheasbro / dropbox.sh
Created November 20, 2017 18:40 — forked from wilson428/dropbox.sh
Fix Dropbox conflicts automatically.
#!/bin/bash
#Thx, http://stackoverflow.com/questions/20723868/batch-rename-dropbox-conflict-files
#Point to where you want the script to look and where it should backup files it replaces
folder=~/Dropbox/Private
backup=~/Desktop/Dropbox.backup
#colors
red='\033[0;31m'
@scheasbro
scheasbro / dropbox.sh sdc
Created November 20, 2017 18:36
Dropbox Resolve Conflicted Copies - SDC Version
#!/bin/bash
#Thx, http://stackoverflow.com/questions/20723868/batch-rename-dropbox-conflict-files
#Point to where you want the script to look and where it should backup files it replaces
folder=~/Volumes/Seagate\ 4TB/Dropbox\ \(C3\ Ottawa\)
backup=~/Desktop/Script_Backup
#colors
red='\033[0;31m'