diff src/editors.c @ 190:c2923efebfdc

whitelist of files that can have an xmp sidecar, sample external command for creating sidecar
author nadvornik
date Sun, 16 Mar 2008 14:11:22 +0000
parents b2266996fa83
children f6e307c7bad6
line wrap: on
line diff
--- a/src/editors.c	Sun Mar 16 10:52:44 2008 +0000
+++ b/src/editors.c	Sun Mar 16 14:11:22 2008 +0000
@@ -60,7 +60,7 @@
 	N_("XV"), "xv %f",
 	N_("Xpaint"), "xpaint %f",
 	N_("UFraw"), "ufraw %{.cr2;.crw;.nef;.raw}p",
-	NULL, NULL,
+	N_("Add XMP sidecar"), "%vFILE=%{.cr2;.crw;.nef;.raw}p;XMP=`echo \"$FILE\"|sed -e 's|\\.[^.]*$|.xmp|'`; exiftool -tagsfromfile \"$FILE\" \"$XMP\"",
 	NULL, NULL,
 	NULL, NULL,
 	NULL, NULL,