categories

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

Moderators: helmut, XnTriq, xnview

Post Reply
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

categories

Post by obelisk »

Using WinXP + XnV 1.97.6
I have about 10k files in D:\ with categories.
I'm wanting to move them to a network drive.

I don't want to lose the categories.

What do I do?
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: categories

Post by xnview »

D:\ with many subfolders?
Pierre.
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: categories

Post by obelisk »

yes that is right

basically

D:\Photos\
and under that folder for each year and inside folder for every event and inside folder for jpg, raw, video, etc
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: categories

Post by xnview »

So make a bakcup of category file :-)
And download SQLiteBrowser (http://sqlitebrowser.sourceforge.net/)
In t2 table you can see the files...

To change the path go to 'execute SQL' and type:

Code: Select all

update t2 set f = 'c:\new path\' || substr(f,length('e:\old path\') +1,999) where f like "e:\old path\%" 
(replace 'c:\new path\' & 'e:\old path\')
Pierre.
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: categories

Post by obelisk »

thanks. we should put this in a faq somewhere.
Post Reply