1 (edited by Stefan 2010-09-18 17:00:19)

Topic: Use Siren with XYplorer

XYplorer is an fine file manager >> www.XYplorer.com

although XYplorer have an good till advanced renamer tool, it lacks an more advanced one,
here comes Siren renamer to work big_smile


http://www.scarabee-software.net/en/siren.html
Just download and unpack the Siren_201.zip (400kB) into your XYplorer folder:
One EXE   1MB (350kB UPX)
One INI (after first launch)


Some examples how to use Siren from XYplorer:

      ::run """<xypath>\Siren.exe"" <curpath>";   //current folder name itself

      ::run """<xypath>\Siren.exe"" <curpath>\";   //show all files inside current folder

      ::run """<xypath>\Siren.exe"" <selitems>";  //rename the items currently selected

      ::run """<xypath>\Siren.exe"" /F *.<curext>"; //all files from same type as the currently selected file type


Execute Siren with an rename expression,.. rename and end:

      Siren command line usage: escape the quotes by an leading \
                                                             /E %b(\"_\",\" \").%e

      XYplorer usage: escape the quotes by doubling them
      ::run """<xypath>\Siren.exe"" <selitems> /E ""%b(\""_\"",\"" \"").%e"" /P";

Advice:  - For a complicated expression, use a favorite ("/A") rather than an expression ("/E") like above.




Some examples what can be done with Siren renamer by Scarabée Software:
    (Note:
              there are no check boxes or many input fields, just an field to enter an expression.
              Read the help and try an right click into this expression bar.)


      %f   : the file name
      %b   : the "base" name
      %e   : the name extension


Every variable can be postfixed by a "[]" modifier.  It will be split into an array of substrings.
  The usage is: "[ array-element no. n, "separator" ]"
  Example: for "Artist - Title.mp3" the expression "%b[2] - %b[1].%e" will exchange Artist and Title.

Every variable can be postfixed by a "()" modifier for - Substring extraction
  The usage is: "(start pos, amount of chars)"
  Example: for "The Artist - Title.mp3" the expression "%b(5).%e" will crop the first four signs.
  Example: for "random string, fixed string.ext" the expression "%b(-12).%e" will only keep the last 12 signs.
  Example: for "Sales, random string, 2010.ext" the expression "%b(1,5) %b(-4).%e" will crop the random string in the mid.

Every variable can be postfixed by a "()" modifier for - String replacement
  The usage is: "("find me", "replacement", starting occurrence, number of occurrences to proceed, case sensitive)"
  Example: for "The Artist feat singer - Title stinking feat.mp3" the expression "%b("feat", "feet", 2).%e" will replace the second 'feat' to 'feet' only.

Every variable can be postfixed by a "()" modifier for - Modification by regular expression
  The usage is: "(s/ match regexp / replacement fmt / modifier)"
  Example: for "Document 09-2010.ext" the expression "%b(s/(\d\d)-(\d\d\d\d)/\2-\1/).%e" will exchange '09-2010' to '2010-09'

Read more examples and about the other dozens features in the help of Siren renamer wink
See how Siren looks: http://www.scarabee-software.net/image/ … _en_02.jpg


Description of Siren at PortableFreeware.com:
http://www.portablefreeware.com/?id=1315
  Synopsis: Siren is a file renamer which allows for batch file renaming based on expressions
      (kind of an extended Regular     Expression syntax). Also allows for insertion of file information (file Date, ID3 tags).
  Writes settings to: Application folder in an INI file
  How to extract: Download the ZIP package and extract to a folder of your choice. Launch Siren.exe.
  Unicode support: No
  License: Freeware
  System Requirements: Win98 / WinME / WinNT / Win2K / WinXP / Vista / Win7
  Very flexible and powerful... Does the job perfectly



.