Hello,
My digikam setup currently looks as follows: 1) a local mySQL database contains both metadata and thumbnails 2) the (main) collection resides on a network share which I mount as needed on "/mnt/Images". As I am putting a new NAS into use I would like to transfer the collection (2) above) to that NAS and use a standard smba share path rather than having to rely on manual mounting. How can I instruct digikam to modify database information such that paths for the images are converted to the new location? Is that even possible? Thanks for any hints. Sincerely, Joh _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On 2012-12-07 10:11, Johannes Graumann wrote: > Hello, > > My digikam setup currently looks as follows: > 1) a local mySQL database contains both metadata and thumbnails > 2) the (main) collection resides on a network share which I mount as > needed > on "/mnt/Images". > > As I am putting a new NAS into use I would like to transfer the > collection > (2) above) to that NAS and use a standard smba share path rather than > having > to rely on manual mounting. How can I instruct digikam to modify > database > information such that paths for the images are converted to the new > location? Is that even possible? > You still have to mount the sambashare to a mount point like /mnt/newshare. Then I would start Digikam and add the new share as a new collection and finaly move from within Digikam your old share collection to the new one. Will probably take a while (depending on the amount of pictures), but sounds the safests.. Cheers, Sjoerd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Le 07/12/2012 10:52, Sjoerd a écrit : > > > On 2012-12-07 10:11, Johannes Graumann wrote: >> Hello, >> >> My digikam setup currently looks as follows: >> 1) a local mySQL database contains both metadata and thumbnails >> 2) the (main) collection resides on a network share which I mount as >> needed >> on "/mnt/Images". >> >> As I am putting a new NAS into use I would like to transfer the >> collection >> (2) above) to that NAS and use a standard smba share path rather than >> having >> to rely on manual mounting. How can I instruct digikam to modify >> database >> information such that paths for the images are converted to the new >> location? Is that even possible? >> > > You still have to mount the sambashare to a mount point like > /mnt/newshare. > Then I would start Digikam and add the new share as a new collection and > finaly move from within Digikam your old share collection to the new one. > Will probably take a while (depending on the amount of pictures), but > sounds the safests.. > > Cheers, > Sjoerd Another way to do it should be to install SQLite manager for Firefox : https://addons.mozilla.org/fr/firefox/addon/sqlite-manager/ The to open the database file (digikam4.db) Look for "albumsRoot" table and update the identifier field of the "collection/albumroot" You'll need to encode the pathname with a tool. For example : http://meyerweb.com/eric/tools/dencoder/ For example /mnt/newpath will then be encoded to %2Fmnt%2Fnewpath So the album root identifier should be updated to : networkshareid:?mountpath=%2Fmnt%2Fnewpath You should also update the "thumbnails-digikam.db" file so that each image the new path (more tricky) Or delete it to automatically rebuild thumbnails. Of course, as always it is imperative to make a backup before trying to modify the database !!! _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I didn't know there was such a thing... I use (not very often...) Sqliteman that I have got from the regular Fedora repositories.
Marie-Noëlle 2012/12/7 Laurent Espitallier <[hidden email]>
-- Mes dernières photos sont dans ma galerie. Retrouvez-moi aussi sur mon blog. Et parcourez les Cévennes à ma façon avec Cévennes Plurielles, _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I didn't know Sqliteman either !
I installed it and I can say now that both are very good database managers. N.B : Fedora is currently my favourite distribution ;-) Le 07/12/2012 20:13, Marie-Noëlle Augendre a écrit : I didn't know there was such a thing... I use (not very often...) Sqliteman that I have got from the regular Fedora repositories. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Fedora is also my favourite (and only) ditribution. That's why it is the first place I go to when I need a new tool, and usually find what I'm looking for in the repositories.
Marie-Noëlle
2012/12/8 Laurent Espitallier <[hidden email]>
-- Mes dernières photos sont dans ma galerie. Retrouvez-moi aussi sur mon blog. Et parcourez les Cévennes à ma façon avec Cévennes Plurielles, _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |