Deleting Orphaned Tagged Items, selectively

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Deleting Orphaned Tagged Items, selectively

Post by Jerry »

Going through my tagged items database to clean up real orphans, after the volume serial fixes in 17.40.207. I notice I cannot manually delete selected orphans directly, but have to do a Database Check and then can only remove all unconditionally. This is a problem since I have many drives, not all attached at any time. I don't want to remove tags that are orphaned simply because the drives are not attached. There are cases where I have migrated tagged items to other drives, but the old drive's tags appear with the old drive's serial number. Those orphans I want deleted. But there will be other tagged items there with serial numbers that are to be kept because the drives are not attached. Perhaps this situation might not arise with the new fixes, not sure.

But down the road, I think I will be making extensive use of XY tagging on a permanent basis across many drives, so I would think it may be necessary for whatever reason, to clean up orphans selectively. Can the current restriction on selective orphan deletion be removed?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Deleting Orphaned Tagged Items, selectively

Post by admin »

You can do that already in "Edit Tagged Items..." (under Configuration | Tags | Options): delete orphaned entries manually and individually.

Same interface via main menu:
Tools | List Management | Tagged Items...

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: Deleting Orphaned Tagged Items, selectively

Post by Jerry »

admin wrote:You can do that already in "Edit Tagged Items..." (under Configuration | Tags | Options): delete orphaned entries manually and individually.
Ok, but why is the delete button disabled in Edit Orphans (All Drives) ...?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Deleting Orphaned Tagged Items, selectively

Post by admin »

Jerry wrote:
admin wrote:You can do that already in "Edit Tagged Items..." (under Configuration | Tags | Options): delete orphaned entries manually and individually.
Ok, but why is the delete button disabled in Edit Orphans (All Drives) ...?
Ah, now I see what you mean. I'll check that later...

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

Re: Deleting Orphaned Tagged Items, selectively

Post by admin »

OK, checked it. It's just the way the logic works here. Cannot be changed, I'm afraid.

Jerry
Posts: 835
Joined: 05 May 2010 15:48
Location: The UnUnited States of America

Re: Deleting Orphaned Tagged Items, selectively

Post by Jerry »

admin wrote:OK, checked it. It's just the way the logic works here. Cannot be changed, I'm afraid.
I guess I can always click on the pencil icon and remove the orphaned items directly in the editable text pane. (I must first attach all the relevant drives so their serial numbers are resolved to drive letters. Then I can distinguish the real orphans from valid items on other, unattached drives that appear there with unresolved serial numbers.)
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB. SCREEN SCALING: 125%

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

Re: Deleting Orphaned Tagged Items, selectively

Post by highend »

Or you script the whole thing (use an .ini file where all drives with their name + serial numbers get stored), read the tag database and present
a list of tags sorted by drive name / serial number, etc... Just to name a possibility^^
One of my scripts helped you out? Please donate via Paypal

Post Reply