Announcement

Collapse
No announcement yet.

Help with creating alignment override

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

  • Help with creating alignment override

    I have a simple request. I am trying to compare folders. Same files in both but one folder has a timestamp appended to the filename.

    example:
    Handbook_2016 (2014_09_09 22_21_40 UTC).pdf
    =
    Handbook_2016.pdf

    All files will have the same format, beginning whitespace and the format above. "UTC" is common also. Any help will be greatly appreciated.

    Thanks.

  • #2
    Hello,

    BC4 Pro has a feature called Alignment Overrides, which can configure a rule to ignore this type of change. In this example, it would need the timestamp file name on the Left side, and the shorter filename on the right side. Then in the graphical interface, Folder Compare session, Session menu -> Session Settings, Misc tab: create a new Alignment Override:

    (.*) \(.*UTC\)\.pdf
    with
    $1.pdf

    Regular Expression Enabled.

    You can then save this specific Folder Compare, or update session defaults to include this override for all future folder compares, then load the saved folder compare in scripting.
    Aaron P Scooter Software

    Comment

    Working...
    X