Mercurial > geeqie.yaz
changeset 944:e73552743bda
added "Symlink" as an example of "filter" command
author | nadvornik |
---|---|
date | Sun, 27 Jul 2008 09:51:28 +0000 |
parents | b483d8cdedb6 |
children | fd84847c8231 |
files | src/editors.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editors.c Sun Jul 27 08:57:12 2008 +0000 +++ b/src/editors.c Sun Jul 27 09:51:28 2008 +0000 @@ -60,7 +60,7 @@ { N_("Xpaint"), "xpaint %f" }, { N_("UFraw"), "ufraw %{.cr2;.crw;.nef;.raw}p" }, { N_("Add XMP sidecar"), "%vFILE=%{.cr2;.crw;.nef;.raw}p;XMP=`echo \"$FILE\"|sed -e 's|\\.[^.]*$|.xmp|'`; exiftool -tagsfromfile \"$FILE\" \"$XMP\"" }, - { NULL, NULL }, + { N_("Symlink"), "ln -s %p %d"}, { NULL, NULL }, { NULL, NULL }, { N_("Rotate jpeg clockwise"), "%vif jpegtran -rotate 90 -copy all -outfile %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p; then mv %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p;else rm %{.jpg;.jpeg}p_tmp;fi" },