diff -r dir1/ dir2/

Category: File Operations

diff -r dir1/ dir2/

Recursively diff two directories

Compares two entire directories, showing which files differ, which are only in one, and the content differences.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.