Page 1 of 1

Undo tagload?

Posted: 17 Dec 2016 22:33
by Scorpio3002
Hi. I was transferring some images from one computer to another, and wanted to export the tags I had saved along with them, so I used tagload("XYplorerTag.dat"). Trouble is, while it transferred the tags for the old images, it seems to have deleted all the tags I had already saved on the new computer. Is there any way to undo the tagload, and get the old tags back? It looks like I was pretty sloppy about backing things up: I went into AppData and created a backup of tag.dat before I ran tagload, but that doesn't seem to have been modified.

Re: Undo tagload?

Posted: 17 Dec 2016 22:48
by highend
If you have a backup of the old tags, why don't you import them?

Code: Select all

tagload("<your tag.dat backup file>", 1);

Re: Undo tagload?

Posted: 17 Dec 2016 22:52
by Scorpio3002
Because the tag.dat still under AppData doesn't show that it's been modified, not sure what good that would do.

Re: Undo tagload?

Posted: 17 Dec 2016 23:32
by highend
You're currently not on the tag.dat database because of your tagload() command. That's the reason why your tag.dat isn't modified.
After importing your old tags export them again to your default db (tag.dat)

Code: Select all

tagexport("<xydata>\tag.dat", "");
Do not forget the empty "" part here!
After that your tag.dat should contain all tags

Re: Undo tagload?

Posted: 18 Dec 2016 02:36
by Scorpio3002
So I guess the tags.db hasn't been updated since December 1st, meaning that all the tags that I've been entering in for the last week have likely been lost.