Hi,
is it possible to start digikam by command-line with an option to use a special database? I plan to work with two different databases, one for developing the picture from the cam, and one as the final base with all picture for seaching etc. (this second one shold be stored on an usb-disk, which is only pluged in/powered on during it's usage) Thanx, Chris -- GPG-Fingerprint: 171A 6F66 52E5 A6CE D664 2427 832F E711 7442 8261 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users attachment0 (196 bytes) Download Attachment |
Hi,
On Mon, 31 Jul 2006, Christoph Knauer wrote: > Hi, > > is it possible to start digikam by command-line with an option to use a > special database? I plan to work with two different databases, one for > developing the picture from the cam, and one as the final base with all > picture for seaching etc. (this second one shold be stored on an usb-disk, > which is only pluged in/powered on during it's usage) I'd love to have that too! Note that as a workaround you could change between two versions of ~/.kde/share/config/digikamrc which contains under [Album Settings]: Album Path=$HOME/Pictures So maybe a concept of profiles, corresponding to different digikamrc files, would be more flexible? Best, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by cool.chris65
On Monday 31 July 2006 08:13, Christoph Knauer wrote:
> Hi, > > is it possible to start digikam by command-line with an option to use a > special database? I plan to work with two different databases, one for > developing the picture from the cam, and one as the final base with all I don't think so. However, if you were to copy ~/.kde/share/config/digikamrc to ~/.kde/share/config/digikamrc-download and -usb, you could edit the -usb version to change the database area to point to the images directory on the USB stick. With that done, a quick shell script, something like: #!/bin/bash DOWNLOAD="~/.kde/share/config/digikamrc-download" USB="~/.kde/share/config/digikamrc-usb" MASTER="~/.kde/share/config/digikamrc" if [ $1 eq "camera" ]; then cp -f $DOWNLOAD $MASTER digikam elsif [ $1 eq "usb" ]; then cp -f $USB $MASTER digikam else echo "Please choose $0 camera or $0 usb " fi (Warning, untested, may eat your firstborn and cause a solar eclipse.) _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Mon, 31 Jul 2006, Duncan Hill wrote:
> On Monday 31 July 2006 08:13, Christoph Knauer wrote: > > Hi, > > > > is it possible to start digikam by command-line with an option to use a > > special database? I plan to work with two different databases, one for > > developing the picture from the cam, and one as the final base with all > > I don't think so. However, if you were to copy ~/.kde/share/config/digikamrc > to ~/.kde/share/config/digikamrc-download and -usb, you could edit the -usb > version to change the database area to point to the images directory on the > USB stick. > > With that done, a quick shell script, something like: > > #!/bin/bash > > DOWNLOAD="~/.kde/share/config/digikamrc-download" > USB="~/.kde/share/config/digikamrc-usb" > MASTER="~/.kde/share/config/digikamrc" > > if [ $1 eq "camera" ]; then > cp -f $DOWNLOAD $MASTER > digikam > elsif [ $1 eq "usb" ]; then -> "elseif" > cp -f $USB $MASTER > digikam > else > echo "Please choose $0 camera or $0 usb " > fi > > (Warning, untested, may eat your firstborn and cause a solar eclipse.) Very nice! Maybe one would like to do a cp -f $MASTER $DOWNLOAD cp -f $MASTER $USB after the calls to digikam to preserve changes in the rc file. Thanks, Arnd _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |