Which is a sort of tricky title: maybe I spent too much time once, in Old Blighty…though with some of the nicest of memories, truly, so I think I get to call it that, in common with sentimental others.
I want to preface by saying that I really considered just passing this article to Lee and Keith. However, given the workload they have, it seems a better way could be to let the community handle as much as possible. We’ve got some very knowledgeable folk here, especially in this Beta area, along with a full group of persons who may in various ways wish to use Dropbox with Scrivener for their purposes.
What I want to talk about is first in recognition of how many persons find Dropbox to be the right kind of magic. Indeed, with some background in replication systems, one can say it is one of the best of its kind, and that it can make many things much easier in a world of multiple computers, hand-held devices, and collaborators.
The central point we have to practically deal with is this: Dropbox is by necessity rather simple-minded. It’s meant to work with one file at a time. And that is truly it: one single file which has your content.
If you collaborate with someone or share files to two of your own computers, and both ends make changes to their copies of a single file, Dropbox will simply keep both copies present and showing, adding a tag to the name of one of them — what they call a ‘conflict name’ — based on who saved first. There is no more sophisticated method — no automatic merging of mismatched content — because in a general -purpose replicator, there really can’t be.
At least, there can’t until we reach the level of computer intelligence (malevolently) shown by SkyNet, if you enjoy watching Arnold in the movies. That’s because merging, as you’ll realize from having done it, is a pretty much truly human intelligence-requiring task.
To cut to the chase, using Dropbox directly isn’t going to dependably work for a Scrivener project, because it’s a file-filled folder, rather than a single file. I’ll explain more completely below, but the proposed safe way to employ Dropbox will be to share a zip file of the Scrivener project, rather than the project itself. That’s so we can be working with a single file that Dropbox can safely handle .
Now, Scrivener does us a lot of favors by keeping its items, ‘scrivenings’, notes, and etc., as separate files, structured within the project folder. We are most of all safe from the bane of special purpose software which has unusual file formats: we can always get at the text we don’t want to lose — and will be able to do so as long as anyone ever builds tools that can work with a most prevalent of portable layout formats, RTF. The deal is done there.
The problem comes when we try putting that Scrivener project directory itself into Dropbox. Now there are many small files which could be changed. If your collaborating partner makes an update on the same Scrivener binder item that you also change, then one or both of these changes is going to have its name altered, per Dropbox conflict-file protections. Thus the changed version won’t show up in your Scrivener binder at all. You won’t know it’s there, and one of the updates will seem to be lost.
Thus with any mutually conflicting changes, you would need to discover that one or more extra small files even existed within the Scrivener folders, so that you could merge them. Worse, there might be conflicting differences made in the Scrivener document structure itself, which you could not merge, because they aren’t things a word processor can handle. Even if you could handle it all, you’d have to check for safety each time, before using a Dropboxed Scrivener project.
This is not as a practical matter something you want to have to worry about. And if you think you haven’t seen the problem, it’s very likely that you will. It can happen, as in the details of Keith’s present Mac Scrivener Dropbox recommendations, for a wide span of reasons even if you use Dropbox only by yourself. It’s much less likely that way, which is why you may not yet have seen it so far, but it is always waiting to happen.
To solve the dilemma, since Dropbox is a very useful tool, I’m going to suggest that the useful answer will be to Zip Scrivener projects, and then put the updated zip into the Dropbox, rather than the project.
With zip files you are safe from issues of timing and other Dropbox points or Dropbox users, because zips are a single file.
Any time Dropbox sees a conflict, and I believe the most recent version of Dropbox is felt to be very sound in its abilities for this, it will create a copy of the zip file with a conflict name as well as the original title. If five persons modify a Scrivener project in collaborative conflict, you can still easily know about and discover the individual writings of each one, then decide how you want to merge them.
This merging is what you would always have to do, if you think about it. The difference with zips is that you will be safe in this, and that you will know about the need for merging.
What would procedures be?
-
Before creating or reloading a project from the Dropbox zip, Keith’s instruction is entirely proper. You must fully close Scrivener, to assure all its files are fully written.
-
To create the zip, you can use the familiar method which works best for you. Any of the zip utilities makes it the effort of a small moment to zip a folder or directory, which a Scrivener project is, and lets you automatically keep the project name on the zip. You then put the created zip into Dropbox. It replaces any same-named project zip already there.
-
To use the updated project from the other end of Dropbox, and again having fully closed Scrivener, you will rename your present Scrivener project folder - just an added letter will do. This will avoid any possibility of over-write errors, and it will also assure you get a blocking warning if you forgot to close Scrivener first.
Then with later versions of Windows, as well as most of those utilities, you can unzip simply by double-clicking the zip file, and then dragging the Scrivener project out to the place you’d like it to be.
- If you have conflict versions, then you’ll re-name each unzipped Scrivener Project before dragging out the next. This way you can open the separate projects, as you would always have to, Dropbox or no Dropbox, to merge the changes between them.
To complete this round-up, I’ve stopped short of recommending using automatically zipped Scrivener Backups as the zip files, though you could possibly do so as soon as that ability is back in place. The reason is that you would then have a different name on each zip except for the lucky moment when someone else backed up the project at the same date and time. You could choose this method, but for most persons I suspect the better answer is to let Dropbox do its labeling, because the conflict name tells you who wrote the conflicted file; and if it’s not conflicted, you want the zip file name to remain the same.
The one other thought to bring up is that if what you need is really to collaborate, there is now a free tool which should be exceptionally capable for it. That’s Google Docs, where you can actually even see another person typing on the document. I think I might be tempted to use that myself, where strong collaboration were needed, by Compiling a Scrivener project to an RTF including the optional horizontal lines to mark the components. That way, and with the anticipated Docs markup, it would be easy to paste back in just the final changes.
I think that’s all I want to say about this, and I already see that there’s likely to be discussion about it.
Let’s see how reasonable this plan may sound. I think to be pretty assured something like it is necessary, but perhaps someone has an even nicer answer. As Ioa/AmberV has noted elsewhere, Scrivener and Dropbox are the very best, each in their areas of solution, and we should enjoy all that we can in using them together.
Regards to each,
Clive
References:
a. dropbox.com/help/36 - conflict handling in Dropbox
b. https://forum.literatureandlatte.com/t/using-scrivener-with-dropbox/11295/1 - Keith’s instructions
c. lifehacker.com.au/2011/04/ho … work-tool/ (gets very complicated, and recognizes conflict. Comments below it recommend the new Google Docs instead.