Undo tagload?
-
- Posts: 21
- Joined: 21 Aug 2016 05:16
Undo tagload?
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?
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);
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 21
- Joined: 21 Aug 2016 05:16
Re: Undo tagload?
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?
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)
Do not forget the empty "" part here!
After that your tag.dat should contain all tags
After importing your old tags export them again to your default db (tag.dat)
Code: Select all
tagexport("<xydata>\tag.dat", "");
After that your tag.dat should contain all tags
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 21
- Joined: 21 Aug 2016 05:16
Re: Undo tagload?
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.