<?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 — How to ...]]></title>
		<link>https://scarabee-software.net/forum/index.php</link>
		<atom:link href="https://scarabee-software.net/forum/extern.php?action=feed&amp;fid=9&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at Scarabée Software: Forum.]]></description>
		<lastBuildDate>Wed, 09 Jan 2019 09:18:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Serialize files 001, but reset counter on each folder]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=586&amp;action=new</link>
			<description><![CDATA[<p>From the Help:</p><div class="codebox"><pre><code>   %n   : the selection number
   %np  : the selection number relative to the file path
          for example:
          File               %n        %np &lt;----
          \Dir1\Img1.jpg     001       001 &lt;--------
          \Dir1\Img2.jpg     002       002

          \Dir2\Img3.jpg     003       001 &lt;--------
          \Dir2\Img4.jpg     004       002</code></pre></div><br /><br /><p>So for example use</p><p>Expression: %b <strong>%np</strong>.%e </p><br /><div class="codebox"><pre><code>          \Dir1\Img001.jpg &lt;--------
          \Dir1\Img002.jpg 

          \Dir2\Img001.jpg &lt;--------
          \Dir2\Img002.jpg</code></pre></div><br /><br /><br /><p>Info from the help:</p><div class="codebox"><pre><code>   %b   : the &quot;base&quot; name          (ie for &quot;autoexec.bat&quot; it is &quot;autoexec&quot;)
   %np  : the selection number relative to the file path
   %e   : the name extension          (ie for &quot;autoexec.bat&quot; it is &quot;bat&quot;)</code></pre></div><br /><br /><p>--------------------------------------------------------------------------------------------------------------------------------------</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Siren is a freeware file renaming program<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- portable, highly flexible, powerfully -<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If it&#039;s looking tricky it&#039;s easy to rename with Siren.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.scarabee-software.net/en/siren.html">http://www.scarabee-software.net/en/siren.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Wed, 09 Jan 2019 09:18:14 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=586&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Change length of # at end of filename]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=444&amp;action=new</link>
			<description><![CDATA[<p>The help file gives the following example:<br />From :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;To:<br />Img1.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Img_001.jpg<br />Img2.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Img_002.jpg<br />Img10.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Img_010.jpg </p><p>Use the expression :<br />Img_%N.%e or Img_%N{3}.%e </p><p>The following expression will work with any filename which has # at end of the name:<br />%b(s/(\d+$)//i)%N{3,,-1}.%e</p><p>Example:<br />anyfilename-2.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt;&nbsp; anyfilename-002.jpg <br />Any.filename34.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt;&nbsp; Any.filename034.jpg<br />Any17_filename_12.jpg&nbsp; &nbsp; &nbsp; &nbsp;=&gt;&nbsp; Any17_filename_012.jpg</p><p>Obviously use any desired values in the %N expression.</p><p>To add a separator, put desired character between the RegEx&nbsp; &amp; the %N:<br />%b(s/(\d+$)//i)_%N{3,,-1}.%e<br />%b(s/(\d+$)//i)-%N{3,,-1}.%e</p><p>To remove a separator, put undesired separator before the \d:<br />%b(s/(_\d+$)//i)%N{3,,-1}.%e<br />%b(s/(-\d+$)//i)%N{3,,-1}.%e</p><p>To change the separator, do both (note: there is a space between _ and ~)<br />%b(s/([-_ ~.]\d+$)//i)_%N{4,,-1}.%e<br />ie:<br />Filename-1.jpg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt;&nbsp; &nbsp;Filename_0001.jpg&nbsp; <br />Filename_20.jpg&nbsp; &nbsp; &nbsp; &nbsp;=&gt;&nbsp; Filename_0020.jpg<br />Filename 300.jpg&nbsp; &nbsp; &nbsp; =&gt;&nbsp; Filename_0300.jpg<br />Filename~4000.jpg&nbsp; &nbsp;=&gt;&nbsp; Filename_4000.jpg<br />Filename.050.jpg&nbsp; &nbsp; &nbsp; =&gt;&nbsp; Filename_0050.jpg</p>]]></description>
			<author><![CDATA[null@example.com (daffdaemon)]]></author>
			<pubDate>Sat, 01 Mar 2014 18:46:13 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=444&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Extract original filename from Imagevenue file names]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=443&amp;action=new</link>
			<description><![CDATA[<p>Imagevenue annoyingly corrupts original filenames by appending a random#_ prefix and a suffix beginning with _123 or _122.<br />You get something in the form: #######_filename_123_###lo_###_###.jpg. The following expression will extract the original name.</p><p>%b(s/(.*?)_(.*)_12[23](.*$)/\2/i).%e</p><p>If the random # prefix has already been removed, the following will remove just the suffix:</p><p>%b(s/(.*)_12[23](.*$)/\1/i).%e</p><p>This works even when the filename includes _123 but breaks down if one of the 3 digit random #&#039;s after the _123 is another _123. In that case just run the file again with the second expression.</p><p>Examples:<br />27053_1962_Calendar_12.Janet_Pilgrim_123_1175lo_460_345.jpg&nbsp; =&gt;&nbsp; 1962_Calendar_12.Janet_Pilgrim.jpg<br />0220965_1964-04_123_PMs_Revisited.1956_123_1041lo.jpg&nbsp; =&gt;&nbsp; 1964-04_123_PMs_Revisited.1956.jpg</p><p>But:<br />89930_cal._1960_05.Janet_Pilgrim_123_835lo_123_456.jpg&nbsp; =&gt;&nbsp; cal._1960_05.Janet_Pilgrim_123_835lo.jpg<br />Run again with 2nd expression:<br />cal._1960_05.Janet_Pilgrim_123_835lo.jpg&nbsp; =&gt;&nbsp; cal._1960_05.Janet_Pilgrim.jpg</p><p>Hope someone else finds this useful!</p><br /><p>btw nice program</p>]]></description>
			<author><![CDATA[null@example.com (daffdaemon)]]></author>
			<pubDate>Sun, 23 Feb 2014 22:32:44 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=443&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Change the order of the rename File List]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=372&amp;action=new</link>
			<description><![CDATA[<p>Hi,</p><p>First of all thank you for the Siren Program.....<br />My question is about how to sort the File List. <br />Let&#039;s say I have three files in the file list named 1, 2 and 3.<br />The order in which I want to rename them is 3,1,2.<br />How do I manage this within Siren?<br />Thanks in advance.......</p>]]></description>
			<author><![CDATA[null@example.com (reviewing)]]></author>
			<pubDate>Sat, 27 Oct 2012 11:13:31 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=372&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[math on siren?]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=340&amp;action=new</link>
			<description><![CDATA[<p>Hi,<br />Great program</p><p>Is there a way to use mathematical operators like addition?</p><p>I want to rename</p><p>t00.tif --&gt; t24.tif<br />t01.tif --&gt; t25.tif<br />t02.tif --&gt; t26.tif<br />t03.tif --&gt; t27.tif<br />etc.</p><p>Is there a way to do that with Siren?</p><p>Thanks,<br />Tom</p>]]></description>
			<author><![CDATA[null@example.com (tombenarye1234)]]></author>
			<pubDate>Thu, 17 May 2012 09:51:25 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=340&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Rename with random string or digit number, randomize name]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=299&amp;action=new</link>
			<description><![CDATA[<p>Q: Before secure deleting my files and overwriting with zeros,... how can i randomize the file names first?</p><br /><p>A: That is easy to do with Siren renamer:</p><br /><p>Download and unpack the new beta of version 3 of Siren, now for both Windows Win32 and GNU/Linux,<br />from <a href="http://scarabee-software.net/forum/viewtopic.php?id=273">http://scarabee-software.net/forum/viewtopic.php?id=273</a>&nbsp; (or newer)</p><br /><p>There you have the new expression elements:</p><p>Random number (%Rn), <br />alpha (%Ra) <br />and string (%Rs). </p><p>They all can be followed by &quot;{&lt;length&gt;}&quot;</p><p>(With Siren renamer v2 you have %R only (a four digits pseudo random number) )</p><br /><p>So use as <br />EXPRESSION: %Rn</p><p>to get eight digits like<br />26910045<br />63646763<br />91475005</p><br /><br /><p>Or EXPRESSION: %Ra<br />to get eight upper or lower case chars like<br />ZwAPQRvL<br />wigrOvjc<br />DZXxpHqL</p><br /><br /><p>Or EXPRESSION: %Rs<br />to get eight upper or lower case chars or digits like<br />gcVQq7sZ<br />e2nsaw4E<br />e2fgWq21</p><br /><p>Use EXPRESSION: %Rs.%Ra{3}<br />to get eight sign, an dot, followed by three chars like:<br />hxSPRW0M.ozI<br />8AWyfdiF.IHw<br />sAfmWR9Y.WCv</p><br /><p>You can use the default parameters like u,U,l and L to change the case<br />to get always lower case &quot;extensions&quot;: %Rs.%lRa{3}<br />RRxJ7Gc2.fkb<br />MY20H08X.mmk<br />at2jVEr6.qby</p><br /><p>And then you can use this {...} length and the case modifier to the &quot;name part&quot; too: %uRs{12}.%lRa{3}<br />DYXSVVR0WSSM.jue<br />MHZ26YJKS8TA.aoj<br />GNAKYOO9TJXQ.jzu</p><br /><p>Examples:</p><p>Maybe you want to add an randomized number in front of your MP3 files to make an random playlist?<br />%Rn{3} - %f</p><p>-</p><p>You can also combine this elements like e.g.: %Ra%Rn{2}<br />MxtYVOxh18<br />xopVYBjZ61<br />hzUbDntO60<br />to generate passwords ;-)</p><p>-</p><p>To add four random lower case&nbsp; chars at&nbsp; the end of the original file name, right before the dot of the <br />extension, (maybe before joining differend sub-folders to not overwrite same file names) use: %b %lRa{4}.*</p><br /><br /><br /><p>Press the F1-key while you are in Siren to read more about.<br />Enjoy Siren,&nbsp; No installation needed, unzip and run. Siren stores it settings into an ini file, not in the Registry.<br />------------------------------------------------------------------------------------------------------------</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Siren is a freeware file renaming program<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- portable, highly flexible, powerfully -<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If it&#039;s looking tricky it&#039;s easy to rename with Siren.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.scarabee-software.net/en/siren.html">http://www.scarabee-software.net/en/siren.html</a></p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Now for Windows Win32 and GNU/Linux also:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://scarabee-software.net/forum/viewtopic.php?id=273">http://scarabee-software.net/forum/viewtopic.php?id=273</a></p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Mon, 26 Dec 2011 20:16:20 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=299&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Replace only second occurrence of an sign]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=298&amp;action=new</link>
			<description><![CDATA[<p>Test with Siren_300_alpha1_build_784_windows.zip, both real text files on disc and with testbed (<a href="http://scarabee-software.net/forum/viewtopic.php?id=295">menu &quot;? &gt; Expression testbed&quot;</a>). Undo works well too.</p><br /><p><strong>Q: I want to replace an hyphen/dash/minus &quot;-&quot; by an plus sign &quot;+&quot;. But only the second one!</strong></p><p>&nbsp; FROM:<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E17 - Die Schatzsuche <strong>-</strong> Bus verpasst.ext<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E18 - Texas <strong>-</strong> Energisch.ext<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E19 - Aprilscherze <strong>-</strong> Ein göttlicher Burger.ext<br />&nbsp; TO:<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E17 - Die Schatzsuche <strong>+</strong> Bus verpasst.ext<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E18 - Texas <strong>+</strong> Energisch.ext<br />&nbsp; &nbsp; &nbsp;SpongeBob, Schwammkopf, S01E19 - Aprilscherze <strong>+</strong> Ein göttlicher Burger.ext</p><br /><p><strong>A:&nbsp; That&#039;s looking difficult but can be done easy with Siren</strong></p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;To read what we do now press F1 in Siren<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and go to &quot;Expression &gt; Modifiers &gt; String modification : &quot;( )&quot; &quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and there a little bit down to<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: blue"><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;String replacement<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The usage is near of the standard &quot;replace&quot; : ( &quot;s1&quot;, &quot;s2&quot;, s, n, c ) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s1&nbsp; &nbsp; &nbsp;string to replace<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s2&nbsp; &nbsp; &nbsp;replacement string (If it is not specified, the string to replace is deleted)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s&nbsp; &nbsp; &nbsp; &nbsp;starting occurrence (If negative, it is relative to the end of the string)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; n&nbsp; &nbsp; &nbsp; &nbsp;number of replacements to do (If negative, all remaining occurrences are treated)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c&nbsp; &nbsp; &nbsp; &nbsp;number indicating if the search is case sensitive : 0 (zero) for no, any other value for yes <br /></span></p><br /><p>To make it easy we use the Siren variable <strong>%f</strong> which will work on the whole file name incl. the extension.<br />(To work on the base name only use %b and %e for the extension. But you may need this only to replace all dots but the last.)</p><p>So use the <br />EXPRESSION: <span style="color: blue">%f</span></p><p>and press the Enter-key so the NewName is computed.<br />You will see the same as in the CurrentName column because %f just is an placeholder for the filename incl. extension.<br />No modification is done right now.</p><p>--</p><p>Now we utilize&nbsp; the &quot;String replacement&quot; modifier ( &quot;s1&quot;, &quot;s2&quot;, s, n, c )&nbsp; to the %f parameter.<br />First we start simple and just do the basics: %f(&quot;find string&quot;, &quot;replacement string&quot;)</p><p>Or in our case:<br />EXPRESSION: <span style="color: blue">%f(&quot;-&quot;, &quot;+&quot;)</span></p><p>and press the Enter-key so the NewName is computed.</p><p>You will see as NewName something like:<br />SpongeBob, Schwammkopf, S01E17 + Die Schatzsuche + Bus verpasst.ext</p><p>As you may have noticed this has replaced all both hyphens &quot;-&quot; in that name to an plus sign &quot;+&quot; </p><p>--</p><p>So let use use now one of the advanced parameters &quot;,s ,n ,c&quot; of this expression element :</p><p>EXPRESSION: <span style="color: blue">%f(&quot;-&quot;, &quot;+&quot;, 2)</span></p><p>and press the Enter-key so the NewName is computed.</p><p>You will see as NewName something like:<br />SpongeBob, Schwammkopf, S01E17 - Die Schatzsuche + Bus verpasst.ext<br />where only the second (, 2) hyphen &quot;-&quot; is replaced by an plus sign &quot;+&quot;.</p><p>Done. Problem solved!</p><p>All till now was testing only.<br />If you are satisfied with this result press the Rename button to do the actual renaming itself.</p><br /><p>- - -</p><br /><br /><p>More examples?<br />OK, here we go....</p><br /><br /><p>And how would you remove just the first coma?</p><p>To get:<br />SpongeBob Schwammkopf, S01E17 - Die Schatzsuche - Bus verpasst.ext</p><p>use EXPRESSION: <span style="color: blue">%f(&quot;,&quot;,&quot;&quot;,1,1)</span><br />or just %f(&quot;,&quot;, ,1,1)</p><p>which means: find an coma and replace with nothing, or in other words: remove it.<br />Then the first &quot;1&quot; means start at FIRST occurrence of coma found,<br />and the second &quot;1&quot; means: work on ONE occurrence only, then stop the work.</p><br /><br /><p>You can make an another test run with <span style="color: blue">%f(&quot;,&quot;, ,2,1)</span></p><br /><p> - - -</p><br /><br /><p>And how do both replacements (hyphen and coma) at the same time?</p><p>Easy, just use the command separator &quot;;&quot; between both expressions:<br /><span style="color: blue"><strong>%f</strong>(&quot;-&quot;,&quot;+&quot;,2);<strong>%f</strong>(&quot;,&quot;,,1,1)</span></p><p>Note that you can also use more then one &quot;String replacement&quot; modifier on one expression like:<br /><span style="color: blue"><strong>%f(&quot;-&quot;,&quot;+&quot;,2)(&quot;,&quot;,,1,1)</strong></span></p><br /><br /><p>---</p><p>Related topics:<br /><a href="http://scarabee-software.net/forum/viewtopic.php?id=114">Replace the &#039;.&#039; (dots) with &#039; &#039; (spaces)</a><br /><a href="http://scarabee-software.net/forum/viewtopic.php?id=82">... entferne Punkte aus dem Dateinamen</a></p><br /><br /><br /><br /><br /><p>Press the F1-key while you are in Siren to read more about.<br />Enjoy Siren,&nbsp; No installation needed, unzip and run. Siren stores it settings into an ini file, not in the Registry.<br />------------------------------------------------------------------------------------------------------------</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Siren is a freeware file renaming program<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- portable, highly flexible, powerfully -<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If it&#039;s looking tricky it&#039;s easy to rename with Siren.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.scarabee-software.net/en/siren.html">http://www.scarabee-software.net/en/siren.html</a></p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Now for Windows Win32 and GNU/Linux also:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://scarabee-software.net/forum/viewtopic.php?id=273">http://scarabee-software.net/forum/viewtopic.php?id=273</a></p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Mon, 26 Dec 2011 19:18:24 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=298&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Siren renamer scripting - rename files with your favorite text editor]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=294&amp;action=new</link>
			<description><![CDATA[<p><strong>Siren renamer has</strong> <span style="color: blue">no </span><strong>scripting support build-in.</strong></p><p>But he has something even better: <br />use your favorite text editor (or even Word with VBA) <br />where you are familiar with scripting for your advanced modification needs!</p><br /><p><strong>Here is an quick how to for you:</strong></p><br /><p>1.) launch Siren with the files you want to rename (Or open Siren and browse for an folder)</p><br /><br /><p>2a.) use &quot;Edit &gt; Copy the selection &gt; Current names&quot; to copy the whole file name to the clipboard <br />&nbsp; &nbsp; &nbsp; &nbsp;or,<br />2b.) if you want to just edit the &quot;base name&quot; without the extension, do this simple steps:<br />&nbsp; &nbsp; &nbsp; &nbsp;-- in the <strong>Expression </strong>field write&nbsp; <strong><span style="color: blue">%b</span></strong>&nbsp; *1<br />&nbsp; &nbsp; &nbsp; &nbsp;-- now you get as <strong>Future name</strong> the file name without the extension<br />&nbsp; &nbsp; &nbsp; &nbsp;-- click the column header with right mouse button and choose &quot;Copy selected files data&quot; to the clipboard </p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *1 ( or &quot;%p_%f&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for&nbsp; &nbsp;ParentFolder_FileName, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or &quot;%pa_%b_%e&quot;&nbsp; for&nbsp; &nbsp;FullPath_FileName_Extension, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or..., or..., or....,&nbsp; &nbsp; &nbsp; just&nbsp; right click the expression field ;-)&nbsp; &nbsp;)</p><br /><p>3a.) use an text editor with scripting support (e.g. PSPad, Boxer, EmEditor, (HippoEDIT), UltraEdit) <br />&nbsp; &nbsp; &nbsp; &nbsp;or Word and his VBA scripting, and use that scripting feature to modify your names,<br />&nbsp; &nbsp; &nbsp; &nbsp;or use simple rectangular selecting, or zero-width selecting to change parts of your file.<br />&nbsp; &nbsp; &nbsp; &nbsp;Or save the exported file names to an temp file and let an script (e.g. VBScript, JScript, AutoHotkey, AutoIt)<br />&nbsp; &nbsp; &nbsp; &nbsp;or command line tool like <a href="http://www.grymoire.com/Unix/Sed.html">SED (i)</a>,<a href="http://www.gnu.org/s/gawk/manual/gawk.html">AWK (i)</a> or <a href="http://stahlworks.com/dev/swiss-file-knife.html">SFK (i)</a> run against it.<br />&nbsp; &nbsp; &nbsp; &nbsp;Warning: don&#039;t add or remove lines, or your files get messed up if you confirm the preview!</p><br /><br /><p>4.) Once you are finished, copy the modified names to the clipboard again.</p><br /><br /><p>5.) back in Siren use the expression <strong><span style="color: blue">%C</span></strong> to insert the clipboard line-by-line<br />&nbsp; &nbsp; &nbsp; &nbsp;Use <strong><span style="color: blue">%C.%e</span></strong> to add an dot and with %e the original extension of the file.</p><br /><br /><br /><p>Now watch the preview in the Future name column, and if all went fine do the renaming.</p><p>Here is an picture how this could look:</p><p><span class="postimg"><img src="http://forentmp.lima-city.de/Siren_Scripts.png" alt="http://forentmp.lima-city.de/Siren_Scripts.png" /></span></p><p>placeholder, later more...</p><br /><p>HTH?&nbsp; <img src="https://scarabee-software.net/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Fri, 02 Dec 2011 13:51:09 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=294&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Renumber starting with a number?]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=269&amp;action=new</link>
			<description><![CDATA[<p>Wonderful program! Have used it with many different formulas.</p><p>However, I&#039;m wondering if you could give an example of how to renumber starting with a given number (such as renumbering from 6901 on).</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (nmliz)]]></author>
			<pubDate>Fri, 07 Oct 2011 01:59:47 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=269&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[RegEx: regroup parts from string with different amount of parts]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=239&amp;action=new</link>
			<description><![CDATA[<p>FROM:<br />Renamer_Siren.jpg<br />Renamer_Siren_Utility.jpg<br />Renamer_Siren_Utility_2002-2010.jpg</p><p>TO:<br />Siren_Renamer.jpg<br />Siren_Renamer_Utility.jpg<br />Siren_Renamer_Utility_2002-2010.jpg.</p><p>DO Expression:<br />%b(s/([^_]+)_([^_]+)(.*)/\2_\1\3/).%e</p><br /><p>Explanation:</p><p>%b(&nbsp; &nbsp; s/&nbsp; &nbsp; ([^_]+)_([^_]+)(.*)&nbsp; &nbsp; /&nbsp; &nbsp; \2_\1\3&nbsp; &nbsp; /&nbsp; &nbsp;)&nbsp; &nbsp;.%e</p><br /><p>%b&nbsp; ====&gt; work on the base name without the extension</p><p>( s/ / / ) =&gt; do an regular expression search and replace =&gt; ( s/match/replace/mod)</p><p>.%e ====&gt; add the original extension</p><p>([^_]+)_&nbsp; ==&gt; find one-or-more sign which are not an underscore, till an underscore is found ===&gt; &quot;Renamer&quot; + &quot;_&quot;, store all match inside (..) in group 1</p><p>([^_]+) ====&gt; again the same but till the end (or till an underscore is matched by next expression) ===&gt; &quot;Siren&quot;, store in group 2</p><p>(.*) =======&gt; maybe match none-or-more of any sign ==&gt; &lt;none&gt; or &quot;_Utility&quot; or &quot;_Utility_2002-2010&quot; , store in group 3</p><p>Replace with what is matched in group 2, add an underscore your own, then the content of group 1, then 3 if any ==&gt; \2_\1\3</p><p>.</p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Sun, 15 May 2011 19:45:01 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=239&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Extract between parentheses and pad different length numbers]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=237&amp;action=new</link>
			<description><![CDATA[<p>FROM:<br />img_20080423095549.jpg<br />img_20080423095549(1).jpg<br />img_20080423095549(10).jpg<br />img_20080423095549(2).jpg</p><p>TO:<br />000.jpg<br />001.jpg<br />010.jpg<br />002.jpg</p><p>USE:<br />0000%b(s/.+\((\d+).+/\1/);%b(s/img_.+/0/)(-3)</p><br /><p>EXPLANATION:<br />0000 -----------------------&gt; Add a few padding zeros, no matter how much but as many as the shortest string needs.<br />%b(s/.+\((\d+).+/\1/)--&gt; extract digits between (...)<br />; ---------------------------&gt; separate different actions <br />%b(s/img_.+/0/) --------&gt; rename file without (...) to 0<br />(-3) ------------------------&gt; keep the last three signs from string only.</p><br /><p>0000(-3) is used to pad numbers with different length (1 or 10 or 100) to the same end length (001 and 010 and 100)<br />First i add a many 0&#039;s so all strings have at least the length they should have, then i take the amount of signs i really want from the right.</p><p>.</p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Sat, 14 May 2011 20:54:54 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=237&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Outlook Messages]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=231&amp;action=new</link>
			<description><![CDATA[<p>This is an awesome software! Thank you for making this available!</p><p>Is there a way to extract the Date Time Sent from an Outlook email message (msg file) and rename the file similar to expression %dm.*</p><p>Example future name desired:<br />20101221_1826.msg</p><p>Thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (rksit)]]></author>
			<pubDate>Wed, 22 Dec 2010 00:28:15 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=231&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Use Siren with XYplorer]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=228&amp;action=new</link>
			<description><![CDATA[<p>XYplorer is an fine file manager &gt;&gt; <a href="http://www.XYplorer.com">www.XYplorer.com</a></p><p>although XYplorer have an good till advanced renamer tool, it lacks an more advanced one,<br />here comes Siren renamer to work <img src="https://scarabee-software.net/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><br /><p><a href="http://www.scarabee-software.net/en/siren.html">http://www.scarabee-software.net/en/siren.html</a><br />Just download and unpack the Siren_201.zip (400kB) into your XYplorer folder:<br />One EXE&nbsp; &nbsp;1MB (350kB UPX)<br />One INI (after first launch)</p><br /><p>Some examples how to use Siren from XYplorer:</p><p>&nbsp; &nbsp; &nbsp; ::run &quot;&quot;&quot;&lt;xypath&gt;\Siren.exe&quot;&quot; &lt;curpath&gt;&quot;;&nbsp; &nbsp;//current folder name itself</p><p>&nbsp; &nbsp; &nbsp; ::run &quot;&quot;&quot;&lt;xypath&gt;\Siren.exe&quot;&quot; &lt;curpath&gt;\&quot;;&nbsp; &nbsp;//show all files inside current folder</p><p>&nbsp; &nbsp; &nbsp; ::run &quot;&quot;&quot;&lt;xypath&gt;\Siren.exe&quot;&quot; &lt;selitems&gt;&quot;;&nbsp; //rename the items currently selected</p><p>&nbsp; &nbsp; &nbsp; ::run &quot;&quot;&quot;&lt;xypath&gt;\Siren.exe&quot;&quot; /F *.&lt;curext&gt;&quot;; //all files from same type as the currently selected file type</p><br /><p>Execute Siren with an rename expression,.. rename and end:</p><p>&nbsp; &nbsp; &nbsp; Siren command line usage: escape the quotes by an leading \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/E %b(\&quot;_\&quot;,\&quot; \&quot;).%e</p><p>&nbsp; &nbsp; &nbsp; XYplorer usage: escape the quotes by doubling them<br />&nbsp; &nbsp; &nbsp; ::run &quot;&quot;&quot;&lt;xypath&gt;\Siren.exe&quot;&quot; &lt;selitems&gt; /E &quot;&quot;%b(\&quot;&quot;_\&quot;&quot;,\&quot;&quot; \&quot;&quot;).%e&quot;&quot; /P&quot;;</p><p>Advice:&nbsp; - For a complicated expression, use a favorite (&quot;/A&quot;) rather than an expression (&quot;/E&quot;) like above.</p><br /><br /><br /><p>Some examples what can be done with Siren renamer by Scarabée Software:<br />&nbsp; &nbsp; (Note: <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; there are no check boxes or many input fields, just an field to enter an expression.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Read the help and try an right click into this expression bar.)</p><br /><p>&nbsp; &nbsp; &nbsp; %f&nbsp; &nbsp;: the file name <br />&nbsp; &nbsp; &nbsp; %b&nbsp; &nbsp;: the &quot;base&quot; name<br />&nbsp; &nbsp; &nbsp; %e&nbsp; &nbsp;: the name extension</p><br /><p>Every variable can be postfixed by a &quot;[]&quot; modifier.&nbsp; It will be split into an array of substrings.<br />&nbsp; The usage is: &quot;[ array-element no. n, &quot;separator&quot; ]&quot;<br />&nbsp; Example: for &quot;Artist - Title.mp3&quot; the expression &quot;%b[2] - %b[1].%e&quot; will exchange Artist and Title.</p><p>Every variable can be postfixed by a &quot;()&quot; modifier for - Substring extraction<br />&nbsp; The usage is: &quot;(start pos, amount of chars)&quot;<br />&nbsp; Example: for &quot;The Artist - Title.mp3&quot; the expression &quot;%b(5).%e&quot; will crop the first four signs.<br />&nbsp; Example: for &quot;random string, fixed string.ext&quot; the expression &quot;%b(-12).%e&quot; will only keep the last 12 signs.<br />&nbsp; Example: for &quot;Sales, random string, 2010.ext&quot; the expression &quot;%b(1,5) %b(-4).%e&quot; will crop the random string in the mid.</p><p>Every variable can be postfixed by a &quot;()&quot; modifier for - String replacement<br />&nbsp; The usage is: &quot;(&quot;find me&quot;, &quot;replacement&quot;, starting occurrence, number of occurrences to proceed, case sensitive)&quot;<br />&nbsp; Example: for &quot;The Artist feat singer - Title stinking feat.mp3&quot; the expression &quot;%b(&quot;feat&quot;, &quot;feet&quot;, 2).%e&quot; will replace the second &#039;feat&#039; to &#039;feet&#039; only.</p><p>Every variable can be postfixed by a &quot;()&quot; modifier for - Modification by regular expression<br />&nbsp; The usage is: &quot;(s/ match regexp / replacement fmt / modifier)&quot;<br />&nbsp; Example: for &quot;Document 09-2010.ext&quot; the expression &quot;%b(s/(\d\d)-(\d\d\d\d)/\2-\1/).%e&quot; will exchange &#039;09-2010&#039; to &#039;2010-09&#039;</p><p>Read more examples and about the other dozens features in the help of Siren renamer <img src="https://scarabee-software.net/forum/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />See how Siren looks: <a href="http://www.scarabee-software.net/image/Siren_pres/Siren_en_02.jpg">http://www.scarabee-software.net/image/ … _en_02.jpg</a></p><br /><p>Description of Siren at PortableFreeware.com:<br /><a href="http://www.portablefreeware.com/?id=1315">http://www.portablefreeware.com/?id=1315</a><br />&nbsp; Synopsis: Siren is a file renamer which allows for batch file renaming based on expressions <br />&nbsp; &nbsp; &nbsp; (kind of an extended Regular&nbsp; &nbsp; &nbsp;Expression syntax). Also allows for insertion of file information (file Date, ID3 tags).<br />&nbsp; Writes settings to: Application folder in an INI file<br />&nbsp; How to extract: Download the ZIP package and extract to a folder of your choice. Launch Siren.exe.<br />&nbsp; Unicode support: No<br />&nbsp; License: Freeware<br />&nbsp; System Requirements: Win98 / WinME / WinNT / Win2K / WinXP / Vista / Win7 <br />&nbsp; Very flexible and powerful... Does the job perfectly</p><br /><br /><p>.</p>]]></description>
			<author><![CDATA[null@example.com (Stefan)]]></author>
			<pubDate>Sat, 18 Sep 2010 14:55:53 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=228&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Remplacement de date]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=222&amp;action=new</link>
			<description><![CDATA[<p>Bonjour et merci pour ce logiciel que j&#039;utilise régulièrement.</p><p>Petite question:</p><p>Comment croiser rapidement une chaine de caractères comme par exemple:</p><p>AVANT:<br />abcd_efgh_ijkf_01_12_09.mp3</p><p>APRES:<br />abcd_efgh_ijkf_2009_01_12.mp3</p><p>Merci pour votre aide</p><p>Bon week-end</p>]]></description>
			<author><![CDATA[null@example.com (cactus)]]></author>
			<pubDate>Sat, 17 Apr 2010 09:32:15 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=222&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Change sequence number to letter]]></title>
			<link>https://scarabee-software.net/forum/viewtopic.php?id=219&amp;action=new</link>
			<description><![CDATA[<p>Hello,</p><p>Is it possible to change the command so instead of 001 002 etc at the end of a filename, you get A B etc?&nbsp; Thanks very much for any help.</p>]]></description>
			<author><![CDATA[null@example.com (wjeffries)]]></author>
			<pubDate>Mon, 22 Mar 2010 22:05:18 +0000</pubDate>
			<guid>https://scarabee-software.net/forum/viewtopic.php?id=219&amp;action=new</guid>
		</item>
	</channel>
</rss>
