Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2015
    Posts
    2

    Default Newbie script question: I just want a report showing missing files between folders...

    I am currently using a modified script from the examples in the online help pages. It's coming up in the format I want, but it keeps giving me a full report of all files, which is tmi.

    I just want it to show when I have a missing file in either folder. Here's the script-

    log verbose append:"C:\folder1\MyLog %date%.txt"
    filter "*.PDF"
    criteria crc
    load "C:\folder1\good" "C:\folder1\new"
    folder-report layout:side-by-side options:display-mismatches &
    output-to:"C:\folder1\results\missing.htm" output-options:html-color %1

    this is the batch that calls the script-

    "C:\Program Files (x86)\Beyond Compare 4\bcompare.exe" /silent @c:\folder1\bcscript2.txt

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    12,010

    Default

    Hello,

    Your script looks solid, and will show any .pdf files that are CRC different on the left and right. Does the output report indicate this, that the files are different?

    If you want to only show files that are missing on one side or the other, these are Orphans, which uses the "options:display-orphans" instead of "options:display-mismatches".
    Aaron P Scooter Software

  3. #3
    Join Date
    Apr 2015
    Posts
    2

    Default

    AH! That was it, I totally missed 'orphans' in the documentation. Thanks Aaron!

Posting Permissions

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