Force rescan of a directory/drive?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

monitor
Posts: 25
Joined: Thu Apr 06, 2017 9:29 pm

Force rescan of a directory/drive?

Postby monitor » Mon Aug 21, 2017 4:15 pm

Recently, I had to change drive letters on one of my main hard drives with loads of pictures.
XnViewMP(XP) had these indexed and some had metadata added and/or were added to specific categories.

When I open XP now, I can find images assigned to a specific category, XP shows the thumbnail and the nonexistent path, but nothing else.

Is there a way to force XP to rescan this particular drive and will this rescan, if it is possible keep everything except the paths?

User avatar
xnview
Author of XnView
Posts: 27913
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Force rescan of a directory/drive?

Postby xnview » Tue Aug 22, 2017 10:22 am

you can use Settings>Catalog>Relocate to change path/drive of the folder in the catalog
Pierre.

monitor
Posts: 25
Joined: Thu Apr 06, 2017 9:29 pm

Re: Force rescan of a directory/drive?

Postby monitor » Tue Aug 22, 2017 5:45 pm

Thank you for that information, though in my case, with a rather large percentage of the data in this large and deep tree, it is very tedious, time consuming and thus very error prone :-(

Aside from that and, at least in my case, it would be helpful if the 'relocate' dialog would remember its size between invocations - at least for the current app's lifetime, and/or if the focus & cursor were set to the start of the new location.

What would have been lost if I had simply deleted the whole drive from the catalog and then added the new drive?

User avatar
xnview
Author of XnView
Posts: 27913
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Force rescan of a directory/drive?

Postby xnview » Tue Aug 22, 2017 5:58 pm

monitor wrote:What would have been lost if I had simply deleted the whole drive from the catalog and then added the new drive?

Rating/label/categories if you save them in catalog.

The paths can be changed too with sqlitebrowser (i can do it for you)
Pierre.

monitor
Posts: 25
Joined: Thu Apr 06, 2017 9:29 pm

Re: Force rescan of a directory/drive?

Postby monitor » Tue Aug 29, 2017 11:43 pm

xnview wrote:
monitor wrote:What would have been lost if I had simply deleted the whole drive from the catalog and then added the new drive?

Rating/label/categories if you save them in catalog.

You mean, all the additional data I might have added only to the DB would be lost, but if I had saved it also to metadata inside the image files, it would have survived, or, at least I, or rather XnViewMP, would be able to recover the data.

In that case I don't think I would have lost or lose anything important if I did just that since I do save the categories to the image files.
xnview wrote:The paths can be changed too with sqlitebrowser (i can do it for you)

Thank you for the offer. Most likely I won't have to take you up on it, though ;-)
I just had a look using the Firefox Sqlite Browser plugin.

Presumably I would have to change the Pathname in the Folders table, either manually or using some sort of SQL incantations - which I am not familiar or comfortable with at all.
However it does give me a better and more concise overview about which folders are still affected and so will make it easier for me to decide which way to go. :D

User avatar
xnview
Author of XnView
Posts: 27913
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Force rescan of a directory/drive?

Postby xnview » Wed Aug 30, 2017 6:48 pm

monitor wrote:In that case I don't think I would have lost or lose anything important if I did just that since I do save the categories to the image files.

Right, if you save them in metadata
Pierre.


Return to “MP - General Support”

Who is online

Users browsing this forum: No registered users and 3 guests