Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2015
    Posts
    1

    Default 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. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,619

    Default

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •