Loop recursively over files in a folder, pipe them to stdin of a command and write the output to a target folder.