Branchway Help · Files and navigation

Compare two folders or two files

See what differs between two folders in one table, step through the changes, sync the folders, or put two text files side by side.

Compare shows what differs between two folders, row by row, and nothing changes unless you ask. Since Branchway 1.0.4 it also puts two text files side by side.

Start a compare

  • Select two folders, or two files, and choose File › Compare.
  • Choose File › Compare Folders… (⌥⌘K) and pick the two folders. In ⌘K, Compare Files… does the same for two files.
  • With two panes open, choose File › Compare Panes (⌥⇧⌘D) to compare the folders the panes show. With the Windows or Commander keyboard profile, the shortcut is ⇧⌘D.
  • Select an item and choose File › Select for Compare, go to the other one, and choose Compare with it. Compare with… picks the other side from a file picker.

A compare opens in its own tab. Recent pairs are listed in ⌘K, so you can open the same compare again later.

Read a folder compare

Chips at the top count each kind of row and filter the table: Differences, Same, Orphans (only in one folder) and Newer. Folders in the table can be opened and closed, and the View menu has Expand All, Collapse All and Expand Differences Only while a compare is on screen.

Two folders compared side by side in Branchway, with chips that count differences, same files and orphans

Go › Next Difference (⌥⌘↓) and Go › Previous Difference (⌥⌘↑) move from one change to the next.

Sync the two folders

Click Set Up Sync… to make the folders match. Choose a preset, check the preview of what will happen to each file, then run it. A preset that removes files moves them to the Trash.

Comparing is free after the trial. Copying and moving files during a sync need a license.

Compare two files

Two text files open side by side, with the changed lines marked. Files over 32 MB are not shown straight away: Compare Anyway loads them. A pair that cannot be shown side by side, such as two files that are not text, says why.

Two text files compared in Branchway with the changed lines marked

Comparing often starts with two panes; see tabs and dual pane. The journal post How to compare two folders on a Mac also covers Terminal’s diff and FileMerge.