<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Lightroom 1 &#8220;Run Any Command&#8221; Piglet</title>
	<atom:link href="http://regex.info/blog/photo-tech/anycommand/feed" rel="self" type="application/rss+xml" />
	<link>http://regex.info/blog</link>
	<description>Not a photo blog. A personal blog with photos.</description>
	<lastBuildDate>Wed, 23 May 2012 20:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Federico</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-34282</link>
		<dc:creator>Federico</dc:creator>
		<pubDate>Sun, 15 Feb 2009 07:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-34282</guid>
		<description>Hello!

  I am playing with this piglet. I run the lr_border shell script which I made to add some notes plus borders to my pics. This is the script:

&lt;code&gt;
#!/bin/sh
#File: ~/bin/lr_border

year=$($HOME/bin/exiv_year $1)
data=$($HOME/bin/exiv_data $1)

name=&quot;Federico Maggi&quot;

if [ &quot;$data&quot; ]
then
	name=$name&quot;, &quot;$data
fi

mogrify -border 5x5 -bordercolor black $1
mogrify -border 1x1 -bordercolor grey $1
mogrify -border 20x20 -bordercolor black $1
if [ &quot;$data&quot; ]
then
	mogrify -pointsize 9 -fill gray -gravity SouthEast -annotate +25+6 &quot;$name&quot; -gravity SouthWest -annotate +25+6 &quot;$data&quot; $1
else
	mogrify -pointsize 9 -fill gray -gravity SouthEast -annotate +25+6 &quot;$name&quot; $1
fi
&lt;/code&gt;

where the the other two scripts are as follows:

&lt;code&gt;
#!/bin/sh
#File: ~/bin/exiv_data
exiv2 $1 2&gt;&amp;1&gt;/dev/null &#124; grep -E &quot;(ISO speed&#124;Exposure time&#124;Aperture&#124;Focal length)&quot; &#124; grep -v priority &#124; grep -oE &#039;(F[0-9]+&#124;[0-9\.\/]+)&#039; &#124; tr &#039;\n&#039; &#039; &#039; &#124; awk &#039;{print $3&quot;mm, &quot;$1&quot; @ &quot;$2&quot; (ISO &quot; $4&quot;)&quot;}&#039;
&lt;/code&gt;

and

&lt;code&gt;
#!/bin/sh
#File: ~/bin/exiv_year
exiv2 $1 2&gt;&amp;1&gt;/dev/null &#124; grep timestamp &#124; grep -oE &#039;[0-9]{4}&#039;
&lt;/code&gt;

I can execute ~/bin/lr_border anyfile.jpg with no problem. But it does not work with LR/Flickr on LR1.4.1.

&lt;code&gt;
/Users/phretor/bin/lr_border &quot;{FILE}&quot;
&lt;/code&gt;

It prompts me with this error message: http://img21.imageshack.us/my.php?image=200902142351kl8.png

And the &quot;any_command.out&quot; file is just empty. Could anybody give me any hints? Thanks in advance.

Ciao,
--Federico</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>  I am playing with this piglet. I run the lr_border shell script which I made to add some notes plus borders to my pics. This is the script:</p>
<p><code><br />
#!/bin/sh<br />
#File: ~/bin/lr_border</p>
<p>year=$($HOME/bin/exiv_year $1)<br />
data=$($HOME/bin/exiv_data $1)</p>
<p>name="Federico Maggi"</p>
<p>if [ "$data" ]<br />
then<br />
	name=$name", "$data<br />
fi</p>
<p>mogrify -border 5x5 -bordercolor black $1<br />
mogrify -border 1x1 -bordercolor grey $1<br />
mogrify -border 20x20 -bordercolor black $1<br />
if [ "$data" ]<br />
then<br />
	mogrify -pointsize 9 -fill gray -gravity SouthEast -annotate +25+6 "$name" -gravity SouthWest -annotate +25+6 "$data" $1<br />
else<br />
	mogrify -pointsize 9 -fill gray -gravity SouthEast -annotate +25+6 "$name" $1<br />
fi<br />
</code></p>
<p>where the the other two scripts are as follows:</p>
<p><code><br />
#!/bin/sh<br />
#File: ~/bin/exiv_data<br />
exiv2 $1 2&gt;&amp;1&gt;/dev/null | grep -E "(ISO speed|Exposure time|Aperture|Focal length)" | grep -v priority | grep -oE '(F[0-9]+|[0-9\.\/]+)' | tr '\n' ' ' | awk '{print $3"mm, "$1" @ "$2" (ISO " $4")"}'<br />
</code></p>
<p>and</p>
<p><code><br />
#!/bin/sh<br />
#File: ~/bin/exiv_year<br />
exiv2 $1 2&gt;&amp;1&gt;/dev/null | grep timestamp | grep -oE '[0-9]{4}'<br />
</code></p>
<p>I can execute ~/bin/lr_border anyfile.jpg with no problem. But it does not work with LR/Flickr on LR1.4.1.</p>
<p><code><br />
/Users/phretor/bin/lr_border "{FILE}"<br />
</code></p>
<p>It prompts me with this error message: <a href="http://img21.imageshack.us/my.php?image=200902142351kl8.png" rel="nofollow">http://img21.imageshack.us/my.php?image=200902142351kl8.png</a></p>
<p>And the &#8220;any_command.out&#8221; file is just empty. Could anybody give me any hints? Thanks in advance.</p>
<p>Ciao,<br />
&#8211;Federico</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sirota</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-20343</link>
		<dc:creator>Mark Sirota</dc:creator>
		<pubDate>Mon, 15 Sep 2008 15:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-20343</guid>
		<description>Oh, never mind, just found your to-do list (and I see it&#039;s already on there).  Thanks!</description>
		<content:encoded><![CDATA[<p>Oh, never mind, just found your to-do list (and I see it&#8217;s already on there).  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sirota</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-20148</link>
		<dc:creator>Mark Sirota</dc:creator>
		<pubDate>Fri, 12 Sep 2008 19:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-20148</guid>
		<description>Hey Jeffrey, any chance of introducing Run Any Command as a 2.x filter (like the Metadata Wrangler)?

The use case I have at the moment is that I&#039;d like to check &quot;Minimize Embedded Metadata&quot;, then put something back in there with Run Any Command and Exiftool (e.g. PPI, to appease print houses that mistakenly care what PPI you send).

Thanks,

Mark</description>
		<content:encoded><![CDATA[<p>Hey Jeffrey, any chance of introducing Run Any Command as a 2.x filter (like the Metadata Wrangler)?</p>
<p>The use case I have at the moment is that I&#8217;d like to check &#8220;Minimize Embedded Metadata&#8221;, then put something back in there with Run Any Command and Exiftool (e.g. PPI, to appease print houses that mistakenly care what PPI you send).</p>
<p>Thanks,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Cobb</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-20024</link>
		<dc:creator>Ross Cobb</dc:creator>
		<pubDate>Sun, 07 Sep 2008 23:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-20024</guid>
		<description>Hello again,

Many thanks for the ongoing updates and useful software.

I&#039;m needing a way to export a bunch of images into folders named by their &#039;title&#039; or some other field.

Any way to use tokens in the Export Folder?

Think this could work as s batch command if you added Title to your list of Command Metasequences ?

Thanks for the tips

Ross</description>
		<content:encoded><![CDATA[<p>Hello again,</p>
<p>Many thanks for the ongoing updates and useful software.</p>
<p>I&#8217;m needing a way to export a bunch of images into folders named by their &#8216;title&#8217; or some other field.</p>
<p>Any way to use tokens in the Export Folder?</p>
<p>Think this could work as s batch command if you added Title to your list of Command Metasequences ?</p>
<p>Thanks for the tips</p>
<p>Ross</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Jones</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-19461</link>
		<dc:creator>Christopher Jones</dc:creator>
		<pubDate>Sun, 17 Aug 2008 05:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-19461</guid>
		<description>You say &quot;the command is run after Lightroom generates each export file, but before the plugin does other things with the file&quot;. I used an exiftool command to change both the XMP and IPTC Headline tags, and specified that your PicasaWeb plugin should use Headline as the caption. But the caption displayed by PicasaWeb was the original Headline shown in LightRoom. This implies that your plugin has set up the caption before running this piglet...</description>
		<content:encoded><![CDATA[<p>You say &#8220;the command is run after Lightroom generates each export file, but before the plugin does other things with the file&#8221;. I used an exiftool command to change both the XMP and IPTC Headline tags, and specified that your PicasaWeb plugin should use Headline as the caption. But the caption displayed by PicasaWeb was the original Headline shown in LightRoom. This implies that your plugin has set up the caption before running this piglet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelly Hokanson</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-18532</link>
		<dc:creator>Shelly Hokanson</dc:creator>
		<pubDate>Sun, 29 Jun 2008 05:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-18532</guid>
		<description>Hi Jeffrey - 
Thanks so much for your plugins! I&#039;m using the Flickr and Zenfolio plugins and couldn&#039;t possibly be happier. You&#039;re a lifesaver! 

After reading Mark Alston&#039;s comment on running Photoshop actions as part of the Lightroom export process via the Run Any Command piglet, I toyed around until I got the same thing working in Mac OS X (Leopard). 

In Photoshop CS3, I first recorded my Sharpening action. Then, I created a Droplet in CS3 (File - Automate - Create Droplet). I saved the Droplet in my Applications folder. 

Then, after enabling the Run Any Command piglet in my Lightroom Export, I typed in the command: 
open -a UnsharpMask

where UnsharpMask is the name of the Droplet I created from my sharpening action in Photoshop. 

Voila! My photos are automatically sharpened prior to upload to Flickr. I haven&#039;t tried it on the Zenfolio side but I&#039;m guessing it will work the same. Any other actions saved as Droplets would presumably work the same as well.

I&#039;m the happiest camper alive :) Thanks again for your hard work! Without your tools, this joy would not be possible!</description>
		<content:encoded><![CDATA[<p>Hi Jeffrey &#8211;<br />
Thanks so much for your plugins! I&#8217;m using the Flickr and Zenfolio plugins and couldn&#8217;t possibly be happier. You&#8217;re a lifesaver! </p>
<p>After reading Mark Alston&#8217;s comment on running Photoshop actions as part of the Lightroom export process via the Run Any Command piglet, I toyed around until I got the same thing working in Mac OS X (Leopard). </p>
<p>In Photoshop CS3, I first recorded my Sharpening action. Then, I created a Droplet in CS3 (File &#8211; Automate &#8211; Create Droplet). I saved the Droplet in my Applications folder. </p>
<p>Then, after enabling the Run Any Command piglet in my Lightroom Export, I typed in the command:<br />
open -a UnsharpMask</p>
<p>where UnsharpMask is the name of the Droplet I created from my sharpening action in Photoshop. </p>
<p>Voila! My photos are automatically sharpened prior to upload to Flickr. I haven&#8217;t tried it on the Zenfolio side but I&#8217;m guessing it will work the same. Any other actions saved as Droplets would presumably work the same as well.</p>
<p>I&#8217;m the happiest camper alive <img src='http://regex.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks again for your hard work! Without your tools, this joy would not be possible!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Alston</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-18320</link>
		<dc:creator>Mark Alston</dc:creator>
		<pubDate>Thu, 12 Jun 2008 16:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-18320</guid>
		<description>Jeffrey,
I am using this piglet to run a photoshop droplet which runs neatimage noise reduction.  Very handy for me and it eliminates the need to keep tifs around just for running neat image.
Anyway,  not sure if others have already figured this out but it took me quite a while to get this working.  

When just adding the droplet command name to  the run any command I would get errors that the command didn&#039;t work.  I think that this is because the droplet would return to quickly and hadn&#039;t modified the file yet.  It took me quite a while to figure out what was going on but then the fix was easy.

The fix was to make a .bat file that contained the following:
@ECHO OFF
C:\path\to\droplet_name.exe %1
exit /b 0

And then to use this batch file as the command to run in runanycommand.

Now I can run any photoshop action as part of my flickr uploading routine.
I can use TLR sharpening, noise reduction, modifying, etc...  I LOVE IT!

Anyway, hopefully someone else finds this helpful.

Thanks again,
Mark

&lt;span class=&#039;jfriedl&#039;&gt;Wow, that &lt;i&gt;is&lt;/i&gt; cool, thanks! &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Jeffrey,<br />
I am using this piglet to run a photoshop droplet which runs neatimage noise reduction.  Very handy for me and it eliminates the need to keep tifs around just for running neat image.<br />
Anyway,  not sure if others have already figured this out but it took me quite a while to get this working.  </p>
<p>When just adding the droplet command name to  the run any command I would get errors that the command didn&#8217;t work.  I think that this is because the droplet would return to quickly and hadn&#8217;t modified the file yet.  It took me quite a while to figure out what was going on but then the fix was easy.</p>
<p>The fix was to make a .bat file that contained the following:<br />
@ECHO OFF<br />
C:\path\to\droplet_name.exe %1<br />
exit /b 0</p>
<p>And then to use this batch file as the command to run in runanycommand.</p>
<p>Now I can run any photoshop action as part of my flickr uploading routine.<br />
I can use TLR sharpening, noise reduction, modifying, etc&#8230;  I LOVE IT!</p>
<p>Anyway, hopefully someone else finds this helpful.</p>
<p>Thanks again,<br />
Mark</p>
<p><span class='jfriedl'>Wow, that <i>is</i> cool, thanks! &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grzegorz</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-18289</link>
		<dc:creator>Grzegorz</dc:creator>
		<pubDate>Mon, 09 Jun 2008 15:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-18289</guid>
		<description>Thank you for your plugins and piglets! I love the power and simplicity of &#039;Run Any Command&#039; so much that I&#039;d like to use it with a standard &#039;Export to disk&#039; task too!

All I want (well, actually I kindly ask for) is a extended &#039;Export to disk&#039; plugin with &#039;Run Any Command&#039; piglet. Is there any chance you could make one?


&lt;span class=&#039;jfriedl&#039;&gt;This&#039;ll be much easier once LR2 comes out, since it supports plugin filters. Until then, you might consider using the Run Any Command piglet with Tim Armes&#039; LR/Mogrify plugin. If you don&#039;t turn on any Mogrify options, it becomes a straight-to-disk export. &#8212;Jeffrey&lt;/span&gt;
&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for your plugins and piglets! I love the power and simplicity of &#8216;Run Any Command&#8217; so much that I&#8217;d like to use it with a standard &#8216;Export to disk&#8217; task too!</p>
<p>All I want (well, actually I kindly ask for) is a extended &#8216;Export to disk&#8217; plugin with &#8216;Run Any Command&#8217; piglet. Is there any chance you could make one?</p>
<p><span class='jfriedl'>This&#8217;ll be much easier once LR2 comes out, since it supports plugin filters. Until then, you might consider using the Run Any Command piglet with Tim Armes&#8217; LR/Mogrify plugin. If you don&#8217;t turn on any Mogrify options, it becomes a straight-to-disk export. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-18139</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 31 May 2008 20:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-18139</guid>
		<description>I am using your plugin for Light Room and I started getting this error and can not seem to get rid of it.


  smugmug.images.upload
  


any help would be great.

Paul</description>
		<content:encoded><![CDATA[<p>I am using your plugin for Light Room and I started getting this error and can not seem to get rid of it.</p>
<p>  smugmug.images.upload</p>
<p>any help would be great.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mantra</title>
		<link>http://regex.info/blog/photo-tech/anycommand#comment-14692</link>
		<dc:creator>mantra</dc:creator>
		<pubDate>Mon, 25 Feb 2008 18:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/photo-tech/anycommand/#comment-14692</guid>
		<description>Hi
thanks for your amazing job

i would love to have an export plugins to export raw files in my hardisk
why don&#039;t make a simple command line for exiftool , a simple command line
with source , destination and a blank space where we can add exiftool commands

for example somebody could be happy to erase own serial number or name or other private info , with exiftool is very easy

or sombody would like to eport files with a metatada hierarchy, exiftool could too

it would be really very appraised, estimated a SIMPLE plugins (maybe with not a short limit for the free version)

thanks for your job and for your effort

&lt;span class=&#039;jfriedl&#039;&gt;Tim Armes&#039; LR/Mogrify plugin will do what you want. It supports the AnyCommand piglet, so you can just turn off all the Mogrify features to take advantage of the AnyCommand aspect of it to run exiftool on your images. &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Hi<br />
thanks for your amazing job</p>
<p>i would love to have an export plugins to export raw files in my hardisk<br />
why don&#8217;t make a simple command line for exiftool , a simple command line<br />
with source , destination and a blank space where we can add exiftool commands</p>
<p>for example somebody could be happy to erase own serial number or name or other private info , with exiftool is very easy</p>
<p>or sombody would like to eport files with a metatada hierarchy, exiftool could too</p>
<p>it would be really very appraised, estimated a SIMPLE plugins (maybe with not a short limit for the free version)</p>
<p>thanks for your job and for your effort</p>
<p><span class='jfriedl'>Tim Armes&#8217; LR/Mogrify plugin will do what you want. It supports the AnyCommand piglet, so you can just turn off all the Mogrify features to take advantage of the AnyCommand aspect of it to run exiftool on your images. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
</channel>
</rss>

