No announcement yet.

Feature request: regex replace in file names

  • Filter
  • Time
  • Show
Clear All
new posts

  • Feature request: regex replace in file names

    I had to check for a large number of PDF files: is there a sidecar XML file for every PDF file (same name - different extension)?
    I think this (and other comparisons on files with different file names) could be a great job for Beyond Compare when a regex replace rule can be applied to the files in folder compare. The regex replace creates a virtual filename for every real filename and the virtual file names will be compared.

  • #2

    BC4 Pro does support an Alignment Override feature. This wouldn't perform this type of comparison in a single step, but can be done in a couple of steps.

    First, if you are running Std edition, you can trial Pro following this guide:

    This will unlock Alignment Overrides in the Folder Compare's Session menu -> Session Settings, Misc tab.
    Create a new rule to align *.xml = *.pdf
    this will align the xml variant on the left, with the pdf on the right.

    If you compare a folder against itself, then look at the left side for Orphans that are .xml (with no aligned .pdf), is this a list of the files you are looking for?
    Aaron P Scooter Software