Linux compare files within a folder for file changes


With the diffYou can easily find out command in Linux, What differences are there in two seemingly dusts folders.

An example would be z.B. 2 Projects to compare and find out the differences in the code.

#Ausgabe auf der Console stdout
diff -qr \
--exclude="css" \
--exclude="tmp" \
/myMaster/folder /mySlave/folder


#Pipen der Ausgabe in eine Datei oder less:
diff -ur \
--exclude="css" \
--exclude="tmp" \
/myMaster/folder /mySlave/folder | /tmp/diff.txt