Announcement

Collapse
No announcement yet.

Ignore files list for diff

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

  • Ignore files list for diff

    Is it possible to specify an ignore file list? So when diff runs it can ignore those files and doesn't report them as different or orphans. It could be a pattern or the full file path.

    Thanks

  • #2
    Hello,

    Yes, the Folder Compare supports File Name Filters. These are defined on the toolbar or in the Folder Compare's Session menu -> Session Settings, Name Filters tab. This can be per session (for the specific session/view) or as new defaults for any future folder comparisons. To set as a new default, from a Folder Compare, update the settings, double check they filter what you need, and in the Session Settings dialog, switch the dropdown from "Use only for this view" to "Also update session defaults".
    Aaron P Scooter Software

    Comment


    • #3
      Thanks. How do I script it?

      Comment


      • #4
        Once the filter is working, you can copy/paste out of the Filters: toolbar section. Such as if the Filters main view toolbar shows:
        *.txt;*.png

        You would copy/paste this text into the filter as:
        filter "*.txt;*.png"
        with surrounding quotes.

        Full scripting syntax is found in the Help file -> Using Beyond Compare -> Scripts, and in the main Scripting Reference chapter. It is recommended to test in the interface first, to make sure the filter syntax filters the logic you anticipate, since script would not preview/show this information.
        Aaron P Scooter Software

        Comment

        Working...
        X