Scripting Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AGehman
    New User
    • Aug 2010
    • 1

    Scripting Question

    Hello,

    I was wondering if their is anyway to just print to a text file the full directory path and name of the orphans on one of the sides. If so if their is anyway i can script to take those orphans and delete them.
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    It isn't possible to list only orphans

    criteria
    load c:\left c:\right
    expand all
    folder-report layout:side-by-side options:display-right-newer-orphans output-to:c:\report.txt

    To delete right side orphans, use the following script:

    load c:\left c:\right
    expand all
    select right.orphan.files
    delete right

    To run a script, use the command line:
    bcompare.exe @c:\script.txt

    For more information on scripting, see the "Using Beyond Compare > Automating With Scripts" and the "Scripting Reference" topics in the help file.
    Chris K Scooter Software

    Comment

    Working...