Hi,

When You migrate from a local fileshare, You will have a problem with recursive permissions from parent object.

Here is script that can scan thru large library (5000+ items) and reset recursive permissions to them.

Orginal source for script: https://gallery.technet.microsoft.com/office/Delete-unique-permissions-8fd47022