Ran 'Project Replace' on one word, and it wiped everything!

I recently pasted my 185,000 word project into Scrivener after trialling the program successfully with a couple of essays. My very first attempt at editing has been disastrous… I ran a Project Replace to correct the spelling on one word, and it wiped every file! Every wordcount was 0. I am thankful that I had a back-up in Dropbox. But now I am too scared to work with Scrivener for this very large document. What could I have done wrong? :question:

You should always back up your project before running a massively destructive command like project replace. I’d say a very large Documents/Convert/Formatting to Default Text Style could potentially be another candidate for backing up first. These commands cannot be undone because they operate on many files at once, and they can totally ruin a work in seconds.

As for what happened, I don’t know, Project Replace works fine for me, and I have no other reports of it doing what you describe. So there is something in the precise way you called up the command, typed in the words, and perhaps even in the composition of your project that caused a failure—and without knowing more of those things it’s hard to say if you hit a bug, or if perhaps the tool was just used incorrectly. I can’t think of a way to accidentally replace everything with nothing, though, so I’m leaning more toward a lightening strike of a bug.

If you take your backup, and create a new duplicate copy of it on the Desktop for testing only, try doing the same exact thing again. Does it blank the project? If so, and if you don’t mind doing so, please send us a copy of the project for analysis along with step-by-step instructions on how to call up the Project Replace panel, what to type in, and what optional checkboxes to use. If you send in a test, create a new duplicate for us from your backup so that it is pristine. Right click on the whole folder, and Send To a compressed zip archive. windows.support AT literatureandlatte DOT com.

Ahem. Ask me how I learned this one. The hard way. On a file for my dissertation…