File-report for all files in a folder-report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zmeinaz
    Visitor
    • Jun 2017
    • 3

    File-report for all files in a folder-report

    I want to create a report of file-reports of all files within a folder report. Is this possible via scripting?
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    Yes, using the include-file-links option in the folder-report command. For full documentation, please check the Help file -> Scripting Reference chapter, "folder-report" command.

    Here you can generate a report such as:
    load "c:\folder1" "c:\folder2"
    expand all
    folder-report layout:side-by-side options:display-mismatches-no-orphans,include-file-links output-to:"c:\reports\bcreport.html" output-options:html-color

    Since the reports will contain all orphan text (different) within a file, you may want to limit either the selected files, or customize the report. We do not have scripting to customize the file-level reports generated, but if you perform the same steps in the graphical interface and change the default options for the Text Compare, then these options are carried through and used for scripting (assuming script is run under the same Windows User account; to test, perhaps best to load "Session name" to make sure the script user has access to the same settings).
    Aaron P Scooter Software

    Comment

    • magdalenag
      New User
      • Jan 2020
      • 2

      #3
      Hi Aaron,
      is it possible to achieve the same as a Linux user? Or did you maybe add the option to customize the report on the file level in folder-report. I would like to exclude unimportant changes and only include mismatches.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15997

        #4
        Yes, the Linux version supports running as script, using "bcompare" instead of "BCompare.exe".

        To customize the Include File Links behavior, you will need to launch the GUI to a new Folder Compare, then click into child file views and change the Display Filter in the main pane interface. Close out of the child view and folder view. The script should then use the current sticky Display Filter settings for generating the file-link reports. It's on our wishlist to expand scripting and allow customization within script itself.
        Aaron P Scooter Software

        Comment

        Working...