compare by file name only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    compare by file name only

    Newbie question:

    Is it possible to compare files by name only? I want check that there is a .BAS in one directory for every .EXE in another directory. I would like to ignore the extensions and compare names of files only.

    Thank you!
  • Zoë
    Team Scooter
    • Oct 2007
    • 2666

    #2
    Re: compare by file name only

    The current release doesn't support this, but you could work around it by using the rename command to switch the extensions back and forth as a group.

    BC 1.9 does support this, and you can get a copy of that here: http://www.scootersoftware.com/download.php?c=v19 If you buy (or already have) a v2 license we can send out a 1.9 key as well.
    Zoë P Scooter Software

    Comment

    • Guest's Avatar

      #3
      Re: compare by file name only

      Thanks for your suggestions!

      Comment

      • Guest's Avatar

        #4
        Re: compare by file name only

        I was looking for a similar feature. Is there a way to simply "map" files from the "left" side to those on the "right" side with the same base name, but with a predictable file suffix (file extension).

        At our site, we have a large mixture of Fortran and C files. The fortran files from older projects have the ".for" suffix (file extension), while the same Fortran files in newer projects are named with a ".f" suffix.

        While it is possible to make copies of our projects and rename the fortran files so they have the same suffix, this is not always practical. Our projects are in a configuration management system so it is impossible to rename the files in the actual projects. It also eliminates the possibility of comparing via FTP.

        Along these same lines (mapping files), is there a feature that will find and map files (on the "right" side) that have moved to a new subdirectory?

        We have been reorganizing our projects' directory hierarchy for simplified maintenance. It would be invaluable to be able to document where files have moved as well as compare the earlier version (in a different directory) to the newer version.

        Comment

        • Chris
          Team Scooter
          • Oct 2007
          • 5538

          #5
          Re: compare by file name only

          Mapping file names based on wild cards, mapping folder structures based on wild cards, and a flat view of files contained in all directories of a base folder are all on the wish list.

          You best option with the current version is to do a multiple file rename, or to look at 1.9 for file extension mismatches. There isn't currently a way to match files in directories that don't have matching directory structures.
          Chris K Scooter Software

          Comment

          Working...