> Message du 28/03/21 06:07
> De : "August Schwerdfeger" 
> A : "Darktable Users List" 
> Copie à : 
> Objet : Re: [darktable-user] changing directory
> 
> A third option (which does not involve any hand-hacking of the database) is 
> to open the folders collection, right-click on the root folder containing all 
> the misplaced images, and click "search filmroll...". This will bring up a 
> dialog box in which you should select the new location of that same folder.

Well, this option did not exist (or, maybe, I could not find it in the manual), 
5~6 years ago, as I had to merge my pictures from several small disks to a 
bigger one.
As the db contained paths to files in each of them, I had to directly access 
the db (after doing a back-up) and replace the values.

As for modifying the windows drive letter, it is not a hack but a system 
function that any basic windows user must be able to achieve.
The OP did a new install thaat modified the drive letter, the safest and 
fastest way IMO is to tell the computer it is wrong and reasign the letter - if 
possible.
This often happens when preparing new computers at work : the disk is split in 
two partitions, but after installing from the usb key it is the key itself that 
is assigned the D: letter, instead of the second disk partition.

> --
> August Schwerdfeger
> [email protected]
>


>

> > On Sat, Mar 27, 2021 at 6:02 PM Jean-Luc CECCOLI  wrote:
> >
> > 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