RibbonDiff — Open Two Files from Terminal

A short example showing the shell-to-window handoff.

RibbonDiff opened from Terminal with a single command and a Markdown file pair.

What this example shows

This workflow jumps from Terminal into a RibbonDiff window by opening two files with one command. It is a small but practical handoff when you already have the paths in a shell.

Example command

open -a RibbonDiff brief-before.md brief-after.md

Files to use

Try the command with the files in demo-files/compare-two-files.

Suggested steps

  1. Open Terminal in the sample-files folder.
  2. Run the command with one of the file pairs.
  3. Let RibbonDiff come to the front.
  4. Scroll one changed section or edit one line on the right side.

Related pages

Compare two files on Mac covers the broader file-compare workflow.