<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dave Page &#187; exifutils</title>
	<atom:link href="http://chwalisz.org/tag/exifutils/feed/" rel="self" type="application/rss+xml" />
	<link>http://chwalisz.org</link>
	<description>Stuff</description>
	<lastBuildDate>Wed, 18 Aug 2010 22:12:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Renaming photos based on filename</title>
		<link>http://chwalisz.org/2009/08/30/354/</link>
		<comments>http://chwalisz.org/2009/08/30/354/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 17:19:12 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[archiving]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[exifutils]]></category>
		<category><![CDATA[iptc]]></category>
		<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=354</guid>
		<description><![CDATA[<p>I found some photos of a rock climbing group from work. They were named &#8220;Cora At Top.JPG&#8221;, which is great to look at the once, but they don&#8217;t really fit into the archival scheme. Plus I didn&#8217;t want to have to reenter the caption, since it was encoded into the filename already.</p>
<p>I reached into the [...]]]></description>
			<content:encoded><![CDATA[<p>I found some photos of a rock climbing group from work. They were named &#8220;Cora At Top.JPG&#8221;, which is great to look at the once, but they don&#8217;t really fit into the archival scheme. Plus I didn&#8217;t want to have to reenter the caption, since it was encoded into the filename already.</p>
<p>I reached into the new release (2.7.4) of the ever useful <a href="http://www.hugsan.com/EXIFutils/">EXIFUtils</a> and checked the field name list. I found [file-name] and [file-base], which represent as a source the file name e.g. &#8220;Cora At Top.JPG&#8221; and the base file name &#8220;Cora At Top&#8221;. So by entering:</p>
<p><code> &gt; exifedit /a  ip-caption=[file-base] .</code></p>
<p>I add a IPTC-Caption tag to each file using the file base name as the caption. The brackets make it a &#8220;macro&#8221;, otherwise the literal text &#8220;file-base&#8221; is inserted, which is not what I wanted. The dot is *.*.</p>
<p>The program creates a bunch of backup files, which I deleted. The<code> /b</code> option does not create backups. Next time.</p>
<p>Then I use my imgnum script to reformat the name to the FSC_YYYYMMDD_HHMMSS std format.</p>
<p><code>"%EXIFUTILS_HOME%\exiffile.exe" /t /n VVKG[date-taken].jpg .<br />
rem fix VVKGYYYY-MM-DD HH-MM-SS.JPG to  VVKGYYYYMMDD_HHMMSS.JPG<br />
rem change space to _<br />
%CYGWIN_HOME%\bin\rename.exe " " "_"  *.jpg<br />
rem change dash to null<br />
%CYGWIN_HOME%\bin\rename.exe - ""  *.jpg<br />
%CYGWIN_HOME%\bin\rename.exe - ""  *.jpg<br />
%CYGWIN_HOME%\bin\rename.exe - ""  *.jpg<br />
%CYGWIN_HOME%\bin\rename.exe - ""  *.jpg<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2009/08/30/354/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
