Compare and find difference in File and contents of File between 2 folders

Sometimes, when you make a backup of files and folders and do not sync together, then it must have become hard for you to identify changes between 2 files and changes between 2 content over-all inside 2 folders, right?

Well here is the nice cool solution for you, if you run Unix like systems like "Linux" or "Macintosh". All you have to do is use "diff" command. It's simple:-

Open a terminal and Run a command like below:-

diff -ENwburq /path/to/folder-one /path/to/folder-two

and that's it, Press enter and the whole new list will appear in front of you if there is any difference between file or contents of the file between two folders.

NOTE: do not forget to replace "`/path/to/folder-one`" and "`/path/to/folder-two`" with your own folders, that you wish to compare.

To find out more, what does `diff` does, simply run below command:-

man diff

If you need to know, what all those arguments `-ENwburq` does and what are other arguments, you can use, simply run below command:-

diff --help

Loading ...

Related Results :

  1. [How-to] Setup Custom full root or Sub-Domain for Profile and Course
  2. Introduction to HTML
  3. HTML Basic Tags and Elements
  4. HTML Attributes
  5. HTML Formatting
  6. HTML Phrase Formatting
  7. HTML Comment Tags
  8. HTML Meta and OG (Opengraph) Tags
  9. HTML Images
  10. HTML Tables
  11. HTML Lists
  12. Introduction to Python
  13. Variables and Types
  14. Lists, Tuples & Dictionary
  15. Basic Operators
  16. If else-elif else nested if Statement
  17. For & While Loops
  18. String Formatting
  19. Functions in Python
  20. Basic String Operations
  21. Classes and Objects
  22. self in python class
  23. Built-In & More Classes & Objects
  24. Modules and Packages
  25. Introduction to CSS
  26. CSS Syntax & Selectors
  27. Include CSS
  28. CSS Measuring Units
  29. CSS Colors
  30. CSS - Background
Note :
  • Related Posts are generally User Blog posts.
  • or Other tutorials from other networks of
  • Any registered user can create related posts based on search term tags.

About the Author