Artificial intelligent assistant

All files or folders copied from an NTFS drive are with drwxrwxrwx rights. Can I correct this easily? I went from Windows 7 to Debian 9, copying most of the files I'm using for my projects from an NTFS drive. I see that : * all the folders I have copied are now with rights `drwxrwxrwx` instead of `drwxr-xr-x`. * all the files have those rights too, instead of `-rw-r--r--`. Is there an easy way to correct this, recursively ? a `chmod` I think, but I'm not used with its parameters. Files and folders shall have differents rights.

you can use find like


find . -type d -print0 | xargs -r -0 chmod 0755
find . -type f -print0 | xargs -r -0 chmod 0644


The first one to chmod directories and the 2nd one for files

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d1cdd37ae592b19d0f1d591017967ad1