Comparing contents of two directories

September 2019

python -c 'import filecmp; filecmp.dircmp("DIR_ONE", "DIR_TWO").report()'

For more uses of the filecmp module see PyMOTW.