[Digikam-users] Easy way to simply copy selected files out of Digikam?
Chris G
cl at isbd.net
Tue Dec 18 12:33:08 GMT 2007
On Tue, Dec 18, 2007 at 01:27:42PM +0100, Arnd Baecker wrote:
> Hi Chris,
>
> On Tue, 18 Dec 2007, Chris G wrote:
>
> > On Tue, Dec 18, 2007 at 12:19:38PM +0100, Markus Spring wrote:
> > > Chris G wrote:
> > > > Is there no way to select a number of pictures in Digikam and then
> > > > copy them to some other directory? I want to copy a number of
> > > > pictures to an SD memory card but I can't see an easy way to do it.
> > >
> > > Try drag-and-drop into a konqueror window. This works fine for me.
> > >
> > What's konqueror? Well, I sort of know but I'm running an fvwm2
> > desktop with virtually no GUI applications at all. I really want a
> > way to ask Digikam to write selected files to a specified (as in I
> > type it in) directory.
> >
> > At the moment I have created a 'destination' album in Digikam and I'm
> > dragging and dropping to there for subsequent copying which is OK but
> > not perfect.
>
> You can add additional actions for the RMB menu, see
> http://bugs.kde.org/show_bug.cgi?id=88932#c7
>
> So you just need a simple script which would run over all the marked
> files and copy them somewhere.
>
> E.g, in the example given in the above bug you could use
> the following python snippet (untested!):
> for fname in sys.argv[1:]
> print fname
> command = """ cp -p "%s" "/tmp/COPY/" """ % fname
> print command
> # un-comment the following line if the script works ...
> #os.system(command)
>
Useful, thank you. ... and it's python which I know a little.
--
Chris Green
More information about the Digikam-users
mailing list