I want to change the list of tags used - delete some and rename some.
I cannot find anywhere how to do this.
Help is appreciated.
Bernie
How to rename tags?
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: How to rename tags?
Hi Bernie,BumbleBernie wrote:I want to change the list of tags used - delete some and rename some.
Bernie
The fastest way is to edit the tag.dat especially you have tons of tagged items.
Do so with caution.
Steps
Please make a backup first. Accidents happen.
First enjoy a cup of Cappuccino
And, finally, don't forget to read the manual.The Database: tag.dat
All tag data are retained across sessions and stored in one file, tag.dat, located in the application data folder. The file is kept in an open, simple, and human-friendly text format (UTF-16 Text File) so that you can easily edit it manually using an editor or programmatically using any scriptable software.
File Format of the XYplorer Tag Database (version 2)
Line 1: Header and version info: XYplorer File Tags v2
Line 2: Label schemes, separated by ";". Each scheme: Name|TextColor|BackColor. Colors are in RRGGBB.
Line 3: (reserved)
Line 4: Tagged item #1: Full filename|LabelID|Tags|reserved1|reserved2|reserved3|Comment.
Line 5: Tagged item #2: ... etc. ...
In case you edit tag.dat manually...
Sort Order. The tagged item lines must be in binary ascending sort order (A < B ... < a < b ...). If you manually edit tag.dat and are unsure about the correctness of the sort order, you can have the data sorted by using "Database Clean Up..." in Configuration | Tags.
Capitalization matters. You must care for the right capitalization of the file names. Reason: For better performance, the comparisons are done by byte, not by character.
There's another recipe I use routinely but not yet approved by Don
1. Select the tagged items of interest with Find (Ctrl+F).
2. Select the Tags Tab in the first row in the Info Pane.
Watch out: There are 2 Tags Tab. The 1st Tags Tab is located in the Properties Pane while 2nd in the Find Pane.
Once you click the 1st Tags Tab, the 2nd row of Tabs (in the Find Pane) will disappear.
3. Enter your new Tags.
4. Press Apply.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67223
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to rename tags?
I you just want to edit the list of tags used (and not alter the database of tagged items):BumbleBernie wrote:I want to change the list of tags used - delete some and rename some.
I cannot find anywhere how to do this.
Help is appreciated.
Menu Tools | List Management | Tag List...
FAQ | XY News RSS | XY X
-
BumbleBernie
- Posts: 6
- Joined: 11 Jul 2012 22:42
Re: How to rename tags?
Thanks 'admin' for pointing me to List Management.
Solved my (stupid) question.
Bernie
Solved my (stupid) question.
Bernie
XYplorer Beta Club