View Single Post
Old 06-02-2017, 12:52 PM   #17
webmaven
Member
webmaven began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2014
Device: Kindle 4
Quote:
Originally Posted by DoctorOhh View Post
This is your problem. Unless you pause syncing, anytime you edit metadata you risk misplacing books. These books aren't actually deleted. When the metadata got updated a new folder was written with the correct title / author and since your book was locked (for some reason) it was never moved to the new location.
It's worse than that, actually: Because Dropbox (and, I assume, many other file-syncing tools/services) are case insensitive in order to be Windows-friendly, even when the file isn't locked a case change anywhere in the path (so for example in the title or author metadata fields) will cause a write conflict with the remote version, which Dropbox will resolve by creating an additional copy of the book/author folder (marked with (Case Conflict) appended to the folder name).

The reason it is worse is that pausing the syncing doesn't prevent the problem!

The case conflict can be avoided if you do case-change renames (of either authors or titles) as follows:
  1. rename Mcname to McName_
  2. Wait for Dropbox to sync
  3. Rename McName_ to McName

This is essentially a high-latency two-phase commit, and a PITA.

This song-and-dance isn't necessary if you're changing anything other than (or in addition to) the case (eg. removing extra spaces, swapping title and author, removing or adding punctuation, correcting a misspelling, de-ASCII-fying, etc.).

Last edited by webmaven; 06-02-2017 at 12:58 PM.
webmaven is offline   Reply With Quote