Skip to content

Instantly share code, notes, and snippets.

@andrevenancio
Created January 29, 2018 11:32
Show Gist options
  • Save andrevenancio/c23850203e318df2b49b617d33309fdf to your computer and use it in GitHub Desktop.
Save andrevenancio/c23850203e318df2b49b617d33309fdf to your computer and use it in GitHub Desktop.
// list conflicted copies
find ~/Dropbox/ -path "*(*'s conflicted copy [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]*" -print
// remove conflicted copies
find ~/Dropbox/ -path "*(*'s conflicted copy [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]*" -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment