Syncing Tags across systems

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
theJ
Posts: 3
Joined: 17 Dec 2014 05:43

Syncing Tags across systems

Post by theJ »

I have not started my trial yet, but am looking to possibly use xyplorer for tagging files across multiple systems. I was happy to hear the tag data is centralized in a single simplified text file. I am using AeroFS to sync files across systems. If I sync that tag database file can I use xyplorer on different systems with seamless tagging this way? A. will tags be detected and applied to files from the database (I would think so). B. Does xyplorer use this same database to store it's tag repertoire? - ie. if I create a tag "condors" and sync the tag database file, will I be able to pull down condor as a tag to label other files on the sync'd system?

highend
Posts: 14948
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Syncing Tags across systems

Post by highend »

- Reloading the tag database on the e.g. second system is iirc not a seamless process (the tag.dat file changes, XY automatically reloads it). I've wrote a AHK script for a central tag.dat database file, it would need only little modification to make it work for a synced one

- It would only work correctly if you use a portable tag database (there is no driveletter used but a "?" instead) AND / OR the file structure is the same on both clients

E.g.:
Client A:
D:\Users\Test\Pictures
Client B:
D:\Users\Test\Pictures
= OK

Client A:
D:\Users\Test\Pictures
Client B:
D:\User folders\Test\Pictures
= NOT OK
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Syncing Tags across systems

Post by admin »

Here is something to read:
http://www.xyplorer.com/faq-topic.php?id=MUT

@highend: that issue is solved (but the solution is documented only in the above linked text: see universal vs local mapping ).

highend
Posts: 14948
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Syncing Tags across systems

Post by highend »

@Don

He want's to sync the whole tag.dat file between different clients. As far as I see there is no centralized config planned, so I guess [UniversalLocalMapping] will probably not be used.
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Syncing Tags across systems

Post by admin »

Right!

The database (tag.dat) format is simple and open, so it should be not too hard to write a synchronizer in any language.

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: Syncing Tags across systems

Post by Enternal »

UniversalLocalMapping? That's new to me. I don't see it in the Help file either. So UniversalLocalMapping should also be in the Admin.ini for each and every computer that is using the same catalog? Let say, I'm using the example:

Code: Select all

[UniversalLocalMapping]
Count=2
ULM1=\\VEGA\Share1>X:
ULM2=\\VEGA\Share2>Y:\Docs
I'm on the VEGA computer and browse to Y:\Docs and tagged Test1.txt. I then made sure the tag database is saved and then reloaded on computer COMP2. If I then search for any tagged files, one of the files that should show up is \\VEGA\\Share2\Test1.txt? Right? Now if I'm still on COMP2 and then tagged Test2.txt, when the tag database is saved again and reloaded on VEGA, the file Y:\Docs\Test2.txt should now be tagged as well?

Wow Don, when did you sneak this in? :biggrin: Or is it another issue of me being blind again... *sigh*

This makes my life a lot easier than the way I have been doing it. The way I have been doing is: I'm on VEGA and I want to tag Y:\Docs\Test1.txt. To make sure it's accessible to my other computers, I accessed the directory through \\VEGA\Share2\Test1.txt. Basically doing a little network loop and then tag the file. As you can see, it gets annoying.

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Syncing Tags across systems

Post by admin »

It's work in progress...

theJ
Posts: 3
Joined: 17 Dec 2014 05:43

Re: Syncing Tags across systems

Post by theJ »

Would it reload it each time the app restarts? I don't need instant gratification (though that would be nice). Is there an option to use a portable tag database or is that theoretical?
highend wrote:- Reloading the tag database on the e.g. second system is iirc not a seamless process (the tag.dat file changes, XY automatically reloads it). I've wrote a AHK script for a central tag.dat database file, it would need only little modification to make it work for a synced one

- It would only work correctly if you use a portable tag database (there is no driveletter used but a "?" instead) AND / OR the file structure is the same on both clients

E.g.:
Client A:
D:\Users\Test\Pictures
Client B:
D:\Users\Test\Pictures
= OK

Client A:
D:\Users\Test\Pictures
Client B:
D:\User folders\Test\Pictures
= NOT OK

highend
Posts: 14948
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Syncing Tags across systems

Post by highend »

It would reload the database every time it's last modified timestamp changes (which ofc happens every time it get's synced to that client).

Configuration - Tags - [x] Enable portable tags
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Syncing Tags across systems

Post by admin »

theJ wrote:Would it reload it each time the app restarts? I don't need instant gratification (though that would be nice). Is there an option to use a portable tag database or is that theoretical?
a) Sure.
b) Sure. Everything in XY is portable.

Post Reply