I am able to get only common files through this code i want size comparison of both path directories.
import filecmp
result=filecmp.dircmp(path1,path2)
print result.report()
I am able to get only common files through this code i want size comparison of both path directories.
import filecmp
result=filecmp.dircmp(path1,path2)
print result.report()
Please take a look at this question here: Calculating a directory's size using Python? There are a lot of ways of doing this, and on this question they list several "tools" that may fit your problem