Compare two directories

To compare the contents of all files in directories dir1 and dir2:

diff -r dir1 dir2

To list the files that differ, without showing differences:

diff -qr dir1 dir2

Last modified: 31/08/2009 Tags: (none)

Go to top

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top