Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
* Warning! make a backup of you problem folders, run once to make certain this script gives you the expected results. * Add the dropbox-fix-conflicts.py script to you bin, so you can execute it from anywhere. Explained: http://nixcraft.com/shell-scripting/13025-how-execute-shell-script-any-where.html Example usage: Where Movies is the name of the folder in conflict. $ python fixconflicts.py Movies This is what happens: 1. If file already exists display error and quit. 2. Copy each file to the passed in folder name. (ex. Movies) If parent folders do not exist, make the folder tree. 3. If successful, remove file 4. After all files are copied successfully, remove the conflict folders.