Currently, there's a very rough check for file corruption using os.path.exists(). Would probably be better to put that in a separate function (e.g. after finding all files, run over the list and check if files are corrupt).
Should be done even before adapting the destination directories because if some files are completely excluded it does not make sense to adapt a directory for them that should not even exist
Currently, there's a very rough check for file corruption using
os.path.exists()
. Would probably be better to put that in a separate function (e.g. after finding all files, run over the list and check if files are corrupt).