rename 's/[\r\n]//g' *
September 30, 2017 — moverperfect
This will search all files and folders in the current directory for any with a new line character in them and remove the new line out of the file/folder.