Article 6J3Y3 Rename all files and directories changing "\ " to "_"

Rename all files and directories changing "\ " to "_"

by
Calab
from LinuxQuestions.org on (#6J3Y3)
I have a collection of files that were created on a different system that I need to make use of. Unfortunately, some of the file and directory names contain "\ " (backslash, space).

How can I rename all the files and directories, recursively, from the backslash, space to an underscore?
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