Results 1 to 2 of 2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2016
    Posts
    5

    Default command-line: Comparing two folders with html output reports for each file compare

    Hi all,

    BC newb here so apologies for the easy/obvious question.

    I want to compare two folders, each with files that have the exact filenames names in each. Then output an html comparison report for each file.

    I can see this example script from the help, and I can probably create a batch file to loop through this and pass in a bunch of parameters (perhaps) but is there an easier way where the above can be achieved?

    text-report layout:side-by-side &
    options:ignore-unimportant,display-context &
    output-to:%3 output-options:html-color %1 %2

    Thanks for any help!
    m

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,730

    Default

    To generate a single report listing lines in each selected pair of files:

    load "%1" "%2"
    expand all
    select all.files
    text-report layout:side-by-side options:ignore-unimportant &
    output-to:"%3" output-options:html-color

    To generate a folder report that lists filenames with links to text reports for each pair of files:

    criteria rules-based
    load "%1" "%2"
    expand all
    folder-report layout:side-by-side options:include-file-links &
    output-to:"%3" output-options:html-color
    Chris K Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •