> Message du 27/03/21 23:36
> De : "Jean-Luc CECCOLI" 
> A : [email protected]
> Copie à : 
> Objet : re: [darktable-user] changing directory
> 
> > Message du 27/03/21 17:49
> > De : "Jan Minekus" 
> > A : [email protected]
> > Copie à : 
> > Objet : [darktable-user] changing directory
> > 
> > Hello,
> > 
> > The drive letter of my darktable folder has changed when I did a new 
> > install of my computer. All files have the same structure as before.
> > How can I change this? I would like to keep all the changes I made and 
> > be able to go back to the original version of the files.
> > 
> > In the darktablerc file I can change the entries containing the drive 
> > letter.
> > Is there another way to do this?
> > In the preferences is no entry containing the path.
> > 
> > I'm using windows 10 home 64 bits and darktable 3.4.1.1
> > 
> > -- 
> > Kind regards,
> > Jan Minekus
> >
> Hello,
> 
> Better go to windows drive manager and modify the letter so it matches the 
> previous one.
> 
> Rgrds,
> 
> J.-Luc

Well, yes, of course, you can do that another way : directly within the db - 
this is why I did not suggest it before.
1- First of all, backup your library.db file
2- open original library.db with any sql editor.
3- go to the sql console window
4- type the two following lines :
update film_rolls SET
folder = replace( folder, 'new_unwnated_path_to_the_files', 
'old_expected_path_to_the_files');
Be aware to replace the values between single quotes by the actual ones !
5- execute the code

But I still think acting directly on the drive letter is better and safer.

Rgrds,

J.-Luc
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to