Skip to content

Instantly share code, notes, and snippets.

@bradchoate
Forked from ttscoff/rmdbc.bash
Created August 2, 2012 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradchoate/3238899 to your computer and use it in GitHub Desktop.
Save bradchoate/3238899 to your computer and use it in GitHub Desktop.
Bash alias to recursively delete Dropbox conflicted files
alias rmdbc="find . -name *\ \(*conflicted* -delete" # recursively delete Dropbox conflicted files
# and/or (smart idea from Gordon Fontenot)
alias rmdbc-safe="find . -name *\ \(*conflicted* -exec mv {} ~/DropboxConflicts/ \;" # recursively move Dropbox conflicted files to temp folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment