Accidentally deleted my plugin source

58 views
Skip to first unread message

Joshua Fontany

unread,
Dec 1, 2018, 6:53:01 PM12/1/18
to TiddlyWikiDev
Hi everyone...

I was packing up a plugin with the browser command (while running via tiddkyserver) and it seems to have deleted all my plugins files from disk (but did not create the plugin tiddler).

So.... I didn't have any backup (*shoots self*) Am I out of luck? Is there any way to recover this at all?

Really appreciate any help.

Josh F

Joshua Fontany

unread,
Dec 1, 2018, 8:47:53 PM12/1/18
to TiddlyWikiDev
Ugh. Why did I try to package it before pushing to github...

I am currently running a recovery program deep scan on the drive (recuva).... but the tiddler files didn't have the .text extension and it'll takeover an hour. Crossing my fingers as I go get dinner.

Joshua Fontany

unread,
Dec 1, 2018, 11:52:01 PM12/1/18
to TiddlyWikiDev
Oh... never include your root plugin tiddler's title in your list of plugin tiddlers in the make plugin console command. That's what nuked it. :(

Joshua Fontany

unread,
Dec 2, 2018, 11:10:22 PM12/2/18
to TiddlyWikiDev
Hahaha. I actually recovered it all (unfragmented) by manually searching my harddrive with a hex editor. Things in my favor:

* Text content
* Small individual tiddler file sizes (<3)
* Repeating simple text headers.

I searched for "$:/plugins/<myname>" and it took a few hours (and SO MANY F3 key presses) to find all the files and copy the contents to new text files.

Wow... I might have something cool to share soon. Let me back this the hell up and then debug a bit.

:D

TonyM

unread,
Dec 2, 2018, 11:16:36 PM12/2/18
to TiddlyWikiDev
Glad to hear, and thanks for sharing. 

Tony
Reply all
Reply to author
Forward
0 new messages