[Digikam-users] custom filter for files
Remco Viëtor
remco.vietor at wanadoo.fr
Thu Oct 24 17:40:42 BST 2013
On Thursday 24 October 2013 14:39:23 Jean-François Rabasse wrote:
>
> On Thu, 24 Oct 2013, Yuri Samoilenko wrote:
>
> > Yes you're right.
> >
> > About use case: i want send some photos over internet as one(may be
> > encrypted) file
>
> Well, hope someone could help you with a more regular technique, but
> the trick I mentionned, using the clipboard as an interface, is very
> simple to achieve the above.
>
> - Select yous images in Digikam, then Ctrl-C to copy to clipboard.
> - In a terminal window, run a script and feed it with your filenames
> with Shift-Ctrl-V.
> Add a final Ctrl-D to close standard input when you're done.
> (Note that you can issue several selections in DK, and copy/paste
> one after the other, before the final Ctrl-D)
>
> The script itself could be very simple, two lines :
>
> #!/bin/bash
> cat | sed 's'?file:..//' > /tmp/temp-names
> tar czv --file=photos.tgz --files-from=/tmp/temp-names
>
...
> Jean-François
What might work as well (not tested) is drag&drop from Digikam into Ark
(compression utility). D&d works from Digikam to Hugin panorama stitcher
More information about the Digikam-users
mailing list