Hello again,
As I continue to dump more files into Dropbox and sync them with InSync to various systems, I’m finding new ways to confuse and break InSync in strange and interesting ways.
As a part of consolidation and moving to cloud process, I’ve found out that I have newer versions of some folders on a macOS system, which is interfacing Dropbox via the official client. To compare and consolidate, I do the following (consider we’re working on folder folder-name
).
- Rename
folder-name
tofolder-name-old
in Dropbox folder. - Move in new folder as
folder-name
. - Consolidate and do magic.
- Remove
folder-name-old
.
During this mayhem, InSync catches a glimpse of what’s happening on another (Linux) system, understands what’s happening correctly (honestly kudos!), and since it had no time to rename folder-name
to folder-name-old
, syncs the new folder as folder-name (2)
, and links it to folder-name
(the new one) in its internal database.
Then, when folder-name-old
is deleted, it removes folder-name
, leaving folder-name (2)
behind. However, it never renames folder-name (2)
back to folder name
.
Now I have some folder-name (2)
folders inside an out-of-tree synced folder, on a secondary drive, which point to proper, new folders on the Dropbox side.
The question is “How can I fix this?” This is a 40K file folder, synced out of tree, at base level. So, I need to unsync and sync it back ideally. But it’s a lot of small files. It’ll take hours. It’ll hammer the Dropbox API too.
What’s the best way to correct the folder names as it should?
BTW, I’m not mad. I’m just confused.