In that case could you explain the problem a bit more?
It seems you’ve executed the script, some files were moved, but the script failed with a permission error (did you solve the permission issue?).
Afterwards you wanted to continue the script, but are now running into issues since a subset was already moved?