This is the updated bash file,
processDataset.bash (1.8 KB)
I got now one error, the path of the directory,