Data lost when changing Folder name

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
brvoltz
Posts: 4
Joined: 27 Mar 2018 22:18

Data lost when changing Folder name

Post by brvoltz »

I lost all my data for all the sub folders and files when I change the Folder name.
No files changed inside the folder
nor did I move or cut or paste the contains..

So how do I get all my data back?

And how do Prevent this from happening...

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Data lost when changing Folder name

Post by jupe »

Just to be clear, I assume when you say data you are talking about Labels, Tags, Comments?

I suggest you backup your tag.dat file first, before doing these steps described below.

You can access the stored paths via this menu item:

Configuration | Information | Tags | Options | Edit Orphans...

In the bottom left there is a button with a pencil icon on it, if you press that you can copy the whole list to a text editor and make the required changes with search and replace to fix the list if needed, once you have done that, you can use this button in config to check for any other problems:

Configuration | Information | Tags | Options | Database Check

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

Re: Data lost when changing Folder name

Post by highend »

And how do Prevent this from happening...
E.g.:
Configuration | General | Startup & Exit | Save Settings | [x] Backup settings on save
Configuration | General | Startup & Exit | Save Settings | [x] Save changes to disk immediately
Configuration | General | Startup & Exit | Save Settings | "Apply to..." button
[x] Tags

combined with exiting XY via File - Exit (Saving)
One of my scripts helped you out? Please donate via Paypal

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

Re: Data lost when changing Folder name

Post by admin »

brvoltz wrote:I lost all my data for all the sub folders and files when I change the Folder name.
This won't happen when you rename a folder using XYplorer. But when you use a different application, how can XYplorer know about it?

But don't panic, your data are not lost, they are just not found, because the tags DB entries point to the old folder name. You can edit tag.dat (the tags DB) in any editor to fix that manually.

Post Reply