Announcement

Collapse
No announcement yet.

How to ignore file extension?

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

  • Aaron
    replied
    Because a . can be a valid character in a name, everything after the first . is not technically the extension.

    Instead, you can use the BC4 Pro feature Alignment Overrides to define an arbitrary alignment in the Folder Compare's Session menu -> Session Settings, Misc tab: New alignment override.

    You can then define (.*)
    to
    $1.torrent

    Leave a comment:


  • chrisjj
    replied
    Originally posted by erode View Post
    It falls short when one of the files has 2 extensions. For example:

    filename.wmv <----> filename.wmv.torrent
    That second filename has only one extension - "torrent".

    Under Windows, each filename has zero or one extensions. https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

    Originally posted by erode View Post
    This option does not apply to this because (I presume) it simply travels backwards until it meets the first dot and then stops. Really, what it should be doing is traveling all the way backward to the last available dot. Then it would handle all cases.
    I think what it is doing is what it should be doing.

    Leave a comment:


  • erode
    replied
    Originally posted by Aaron View Post
    Beyond Compare 4 does include the option "Align filenames with different extensions" in the Folder Compare's Session Settings dialog, Comparison tab.
    It falls short when one of the files has 2 extensions. For example:

    filename.wmv <----> filename.wmv.torrent

    This option does not apply to this because (I presume) it simply travels backwards until it meets the first dot and then stops. Really, what it should be doing is traveling all the way backward to the last available dot. Then it would handle all cases.

    Leave a comment:


  • Aaron
    replied
    Beyond Compare 4 does include the option "Align filenames with different extensions" in the Folder Compare's Session Settings dialog, Comparison tab.

    Leave a comment:


  • gollumullog
    replied
    Is this feature in BC4 for Mac? I don't see it.

    Leave a comment:


  • Aaron
    replied
    Hello,

    Thanks for the feedback. I'll append these notes as well.

    Leave a comment:


  • maurice
    replied
    Another use case

    I have BC3 Standard (and have some experience with alignment options in Pro), but I use BC2 daily because unimportant text "grammar" rules are so much easier to get to. I haven't used the ignore file extensions option in BC2 before now, but it worked exactly as I expected and needed it to!

    I wanted to do a binary compare to validate a large number of folder zip archives named
    FolderABC --vs-- FolderABC.zip.

    In BC2 this alignment requires two checkbox options:
    "Always treate archive files as folders" (which is in both BC2 & 3), and
    "Ignore file extensions" (BC2 only - as we all know by now)

    Unfortunately, the zip file of folder has the folder itself within. So, even though BC2 easily aligns the folderABC == folderABC.zip, I still have to open the zip and set the folder within as the base folder for the compare to proceed
    i.e.: folderABC == folderABC.zip\folderABC

    I agree completely that the "EZ" option of ignore all extensions should be added back to the std version with the ability to customize extension mapping only in Pro. But I would also love to see BC handle fully opening folder zips when the folder within has the same name.

    One more comment, even without the "ignore extension" option on BC3 std, the folders and folder-zips are put on adjacent lines if "treat zips as folders" is checked. I still have to manually match the folder to the zip and then set the (sub)folder as the base, but the binary compare is dramatically faster (for me) in BC3.

    Leave a comment:


  • Aaron
    replied
    I'll add these notes to our Customer Wishlist, John.

    Leave a comment:


  • JohnFLand
    replied
    Originally posted by Chris View Post
    Hi John,

    Beyond Compare doesn't have a setting that will only show aligned files, but you could use a name filter to only show files with the *.mp3 and *.flac file extensions. Either enter "*.mp3;*.flac" into the filters toolbar, or enter filters in the "Name Filters" tab of Session > Session Settings.
    Thanks, but that's of very limited use where both sides have many true matches with the desired extensions, and a subset of aligned "forced" matches -- they all show, when I really want to see only the forced matches -- for example, to change ".rar" to ".zip" when the extension is wrong for some files on one side (e.g., a backup drive) but have been fixed on the other side (e.g., the primary data drive). So please consider "view only aligned files" as a feature request (and a vote from me also for a "rename files" function, similar to the date/time touch function).

    Leave a comment:


  • Chris
    replied
    Hi John,

    Beyond Compare doesn't have a setting that will only show aligned files, but you could use a name filter to only show files with the *.mp3 and *.flac file extensions. Either enter "*.mp3;*.flac" into the filters toolbar, or enter filters in the "Name Filters" tab of Session > Session Settings.

    Leave a comment:


  • JohnFLand
    replied
    On a somewhat related note, is there a way, using the Pro version, to both (1) align files of different extensions (e.g., *.mp3 and *.flac) and (2) then view ONLY the files that are aligned (thus ignoring other files in the compared directories)?

    John Land

    Leave a comment:


  • Aaron
    replied
    You can test the Alignment Overrides feature first (before purchase) using the steps in this KB article to trial Pro mode:
    http://www.scootersoftware.com/suppo...?zz=kb_evalpro

    Since Tim's last update, adding a more generic Ignore File Extension is still on our Wishlist.

    Leave a comment:


  • jmhays
    replied
    Thanks, I was just checking. This is an old thread with a topic relavant to me and I did not know if it had yet been addressed.

    Leave a comment:


  • chrisjj
    replied
    Originally posted by jmhays View Post
    Has "Ignore Extensions" been added as a feature for basic 3.x
    Not as far as this user can see on the latest version, V14431.

    Leave a comment:


  • jmhays
    replied
    Has "Ignore Extensions" been added as a feature for basic 3.x yet or do I need to upgrade to the Pro version and try to use the Alignment overrides to compare my FLAC music files to my .MP3 music files to ensure they match?

    Leave a comment:

Working...
X