Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

Neil Gee

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Compare the diff of 2 folders in the Command Line

August 15, 2016 Leave a Comment

You can compare the difference of files in two folders in the Command Line by using the diff command.

With folders you use rq as an argument and pass in the 2 folder names on the command line like so…

diff  -rq folder_1 folder_2

You will get notifications on what same corresponding  files are different, as well as notifications of what  files are unique in each folder. Once you know what files are different you then can run the diff file command on those to see the actual difference.

With files you can pass these in to the Terminal/command line  with diff like so…

diff file_1 file_2

For files you can also use the great online tool Diff Checker.

Cats: osx tips, WebDev

The Ultimate Managed Hosting Platform

Subscribe

Coolest Guides on the Planet

Tags

3gs 10.6 apache backup baseband Bing boot clean urls Coolest Guy on the Planet cpanel css custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect remote rsa SEO shell ssh terminal unstoppables urls Yahoo
Load WooCommerce Stores in 249ms!
Beaver Builder Ultimate Addons

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!
Load WordPress Sites in as fast as 37ms!

Copyright © 2021· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2021 · gee on Genesis Framework · WordPress · Log in