[TW5] Importing from TWC. Any way to see if a tiddler exists, to avoid overwriting existing ones?

157 views
Skip to first unread message

Matthew Petty

unread,
May 5, 2015, 5:08:34 AM5/5/15
to tiddl...@googlegroups.com
I have some old TiddlyWiki classic files, and I want to import stuff from them. A lot of the tiddlers are already in my main TW5 file, but there are some that aren't. When I drag the TWC file onto the TW5 file, I get the Import list as usual. Is there any way to see if the tiddlers to be import already exist? I don't want to overwrite existing tiddlers.

Regards,
Matthew

PMario

unread,
May 6, 2015, 7:54:15 AM5/6/15
to tiddl...@googlegroups.com
On Tuesday, May 5, 2015 at 11:08:34 AM UTC+2, Matthew Petty wrote:
I have some old TiddlyWiki classic files, and I want to import stuff from them. A lot of the tiddlers are already in my main TW5 file, but there are some that aren't. When I drag the TWC file onto the TW5 file, I get the Import list as usual. Is there any way to see if the tiddlers to be import already exist? I don't want to overwrite existing tiddlers.

IMO there is no overwrite warning atm. I have a workaround workflow:

- Backup :)
- Create a new empty TW5
- Import your TWC ... Important: Select content tiddlers only.
- Import your TW5

So You will overwrite your _old_ content with the new tiddlers. ... This shouldn't be a problem :)

hope that helps ;)

have fun!
mario

Matthew Petty

unread,
May 7, 2015, 4:04:25 AM5/7/15
to tiddl...@googlegroups.com
Mario,
Clever idea, and it worked perfectly! I had 22 old TWC files scattered around the place, and even though I suspected they had all the same stuff in them, I wanted to make sure it was all brought into my main TW5.
So, I did the following, like you said:
  1. Backup
  2. Download empty TW5.1.8
  3. Sort old TWCs by file modification date
  4. Starting with the oldest, drag and drop each file into the TW5 and import the tiddlers. I saw your warning about only importing content tiddlers - it seems importing from TWC to TW5 only sees the content tiddlers anyway, so it was a quick job to scroll down each import page and check.
  5. I had 22 files to import in all, including a couple of old TW5s. I was more careful with those, because the import showed the system and shadow tiddlers, plus some old detritus from plugins.
  6. Now I have a nice new TW5.1.8 with all my old stuff!
  7. Profit!
Thanks for the idea,
Matthew


On Wed, May 6, 2015 at 3:54 PM, PMario <pmar...@gmail.com> wrote:
On Tuesday, May 5, 2015 at 11:08:34 AM UTC+2, Matthew Petty wrote:
I have some old TiddlyWiki classic files, and I want to import stuff from them. A lot of the tiddlers are already in my main TW5 file, but there are some that aren't. When I drag the TWC file onto the TW5 file, I get the Import list as usual. Is there any way to see if the tiddlers to be import already exist? I don't want to overwrite existing tiddlers.

IMO there is no overwrite warning atm. I have a woraround workflow:


- Backup :)
- Create a new empty TW5
- Import your TWC ... Important: Select content tiddlers only.
- Import your TW5

So You will overwrite your _old_ content with the new tiddlers. ... This shouldn't be a problem :)

hope that helps ;)

have fun!
mario

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/ZzyWTPTIipc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/54c3c1f2-50e7-40fd-803f-8ae5ea3c4eb7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages