Announcement

Collapse
No announcement yet.

Align files with version numbers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Align files with version numbers

    Hi,

    I am trying to compare 2 folders containing zip files with version numbers within the file names, e.g.:
    Left folder:
    ABCDE-0.4.2.0-default.zip
    ABCDE-0.4.2.0-simulator.zip
    ABCDE-0.4.2.0-old-simulator.zip
    SimulatorApp-0.4.2.0.zip
    SimulatorGUI-0.4.2.0.zip
    HostsSimulatorServer-0.4.2.0.zip

    Right folder has the same files but with version 0.4.0.4 in the names.

    When reusing the session, the file names (without the version) will always be the same, the version numbers will always be different, version numbers on one side are always the same for all files, version numbers are always in the format [0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}

    I have read the documentation and searched the forum and tried all sorts of alignment rules without success.

    Any help appreciated!

    Kevin

  • #2
    You can use these non-regular expression masks:

    *-0.4.2.0-* and *-0.4.0.4-*

    There isn't a way to set up alignment rules to just ignore the version numbers though, so if you're re-using a session with different version numbers you'll need to change the alignment rules.
    Zoë P Scooter Software

    Comment

    Working...
    X