Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Default Ignoring underscores and spaces in filenames

    Hiya, I am new to beyond compare and am trying to compare the different files in two folders. However when the comparison runs I want it to ignore the spaces and underscores in the file names and folder names.
    For example when comparing two folders one has a document in it called Plan_1 and the other folder has the document as Plan 1 is there anyway to stop these showing as orphans and actually get them to compare?

    Thanks!

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    Our BC3 Pro feature Alignment Overrides (in the Folder Compare Session Settings, Misc tab) can define rules that will align differently named folders or files with each other, but you would need to define a rule, such as
    "* *" = "*_*" to match on files that have a single space to _ conversion.

    The Trial of BC3 can run in either Pro or Std mode (toggle in the Help menu -> About dialog).

    If you are currently registered for Std, you can trial Pro by following this guide, to see if the feature works well for you before purchase:
    http://www.scootersoftware.com/suppo...?zz=kb_evalpro
    Aaron P Scooter Software

  3. #3
    Join Date
    Nov 2011
    Posts
    3

    Default

    My apology. I found out each filter has to be on a separate line. I lumped them together in a single line which is why it didn't work.

  4. #4
    Join Date
    Nov 2011
    Posts
    2

    Default

    Thanks Aaron for that reply that worked perfectly!

    I am just interested is there way to say ignore all spaces and underscores in a file name? For example two files called;

    "This_is_test_plan_1" and "This is test plan 1"

    I only have a few files like this so have manually compared them at present but am just wondering for future knowledge.

    Thanks

  5. #5
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    Not generally, but if you define a few alignment overrides, such as:
    *_* = * *
    *_*_* = * * *
    *_*_*_*=* * * *
    Then each covers the number of potential word breaks.
    Aaron P Scooter Software

  6. #6
    Join Date
    Dec 2016
    Posts
    1

    Default

    Quote Originally Posted by Aaron View Post
    Hello,

    Not generally, but if you define a few alignment overrides, such as:
    *_* = * *
    *_*_* = * * *
    *_*_*_*=* * * *
    Then each covers the number of potential word breaks.
    Is there a BC4 regular expression version of this answer?

  7. #7
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Our Alignment Overrides feature of BC4 Pro is much the same as BC3. The same style and limitation of RegEx is present, so this workaround is still needed.
    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
  •