Hi I made some changes in your script to avoid a issue with too may open files, i added the option skip-lock tables. please let me drop a PR BR Cadirol