<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Scarabée Software: Forum — Avoid _001 with different extension]]></title>
		<link>https://scarabee-software.net/forum/viewtopic.php?id=188</link>
		<atom:link href="https://scarabee-software.net/forum/extern.php?action=feed&amp;tid=188&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Avoid _001 with different extension.]]></description>
		<lastBuildDate>Sun, 07 Oct 2007 17:28:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Avoid _001 with different extension]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=530#p530</link>
			<description><![CDATA[<p>I&#039;ll try to have a look at it.</p><p>Bye.</p>]]></description>
			<author><![CDATA[null@example.com (Rémi)]]></author>
			<pubDate>Sun, 07 Oct 2007 17:28:47 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=530#p530</guid>
		</item>
		<item>
			<title><![CDATA[Re: Avoid _001 with different extension]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=529#p529</link>
			<description><![CDATA[<p>Tricky again, but it works fine. Thanks!</p><p>Is it possible to add in the next Siren release a %ncs variant which considers the extension?</p><p>Regards,</p>]]></description>
			<author><![CDATA[null@example.com (geohei)]]></author>
			<pubDate>Sun, 07 Oct 2007 11:14:06 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=529#p529</guid>
		</item>
		<item>
			<title><![CDATA[Re: Avoid _001 with different extension]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=528#p528</link>
			<description><![CDATA[<p>Hello,</p><p>You can use an expression like: %le@%Xdod-%Xdot-c%ncs.%le;%f[2,&quot;@&quot;]</p><p>In the &quot;Examples&quot; option of the &quot;?&quot; menu, a similar case is explained: &quot;Rename associated files while renumbering them&quot;.</p><p>Of course what you need is a bit different but the principle is the same.</p><p>If you get <br />20070726-093747-c.cr2<br />20070726-093747-c_001.jpg</p><p>It&#039;s because the extension is not taken into account when &quot;%ncs&quot; is evaluated.<br />Only the text before it is used.<br />So, the idea is to temporarily add the extension before &quot;%ncs&quot;.</p><p>It&#039;s done by using sub-expressions (separated by &#039;;&#039;).<br />The first one will add it and make the &quot;computation&quot;, the second will delete it.<br />As we separated the extension from the rest with a &#039;@&#039;, the removal is based on the same character.</p><p>Hoping this will help.</p><p>Best Regards</p>]]></description>
			<author><![CDATA[null@example.com (Rémi)]]></author>
			<pubDate>Sat, 06 Oct 2007 19:17:21 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=528#p528</guid>
		</item>
		<item>
			<title><![CDATA[Avoid _001 with different extension]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?pid=527#p527</link>
			<description><![CDATA[<p>Hi.</p><p>I take lots of raw pictures with my camery. Infact, I use the option jpg+raw, hence date and time of both shots are identical. I use the following expression:</p><p>%Xdod-%Xdot-c%ncs.%le</p><p>Source files ...</p><p>IMG_9378.CR2<br />IMG_9378.JPG</p><p>... result in ...</p><p>20070726-093747-c.cr2<br />20070726-093747-c_001.jpg</p><p>Any idea how I can easily can get rid of the _001 for the .jpg?</p><p>Many thanks!</p>]]></description>
			<author><![CDATA[null@example.com (geohei)]]></author>
			<pubDate>Sat, 06 Oct 2007 17:20:29 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?pid=527#p527</guid>
		</item>
	</channel>
</rss>
