Diff of two folders

April 9, 2017

A diff shows the differences between contents of two files or folders. 

This command outputs the differences to a file: 

diff -rq folder-1 folder-2 /Users/[USERNAME]/Desktop/comparison.txt

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.