Article 5GF2M [SOLVED] recursively remove newline from directory names

[SOLVED] recursively remove newline from directory names

by
blueray
from LinuxQuestions.org on (#5GF2M)
I have few directories whose name end with (probably) newlines:

Code:% printf "%q\n" *
first$'\342\200\251'
second$'\342\200\251'
third$'\342\200\251'I want to remove this `$'\342\200\251'` recursively for all directories.

How can I do that?latest?d=yIl2AUoC8zA latest?i=RTcqtj-Llkc:NdeiHnRsSSI:F7zBnMy latest?i=RTcqtj-Llkc:NdeiHnRsSSI:V_sGLiP latest?d=qj6IDK7rITs latest?i=RTcqtj-Llkc:NdeiHnRsSSI:gIN9vFwRTcqtj-Llkc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments