[Thunar-dev] Stripping file extension in custom actions

Jannis Pohlmann info at sten-net.de
Thu Mar 9 16:19:11 CET 2006


On Thu, 9 Mar 2006 16:48:46 +0100
Xavier Dectot <xavier.dectot at culture.gouv.fr> wrote:

> 
> My question probably is stupid, but I can't seem to find the answer,
> so here I come : I'm trying to create a custom action that would
> allow me to convert images to PNG format. So I created a custom
> action using imagemagick :
> 
> convert %n %n.png

How about using a pipe ("|") and applying an awk or sed rule before
passing the file to convert?

- Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060309/45bc6946/attachment.pgp>


More information about the Thunar-dev mailing list