Replace spaces in file names from cmd line unix

Posted by Aly on Super User See other posts from Super User or by Aly
Published on 2010-04-13T11:12:30Z Indexed on 2010/04/13 11:23 UTC
Read the original article Hit count: 367

Filed under:
|
|

Hi I have a bunch of files with spaces in the name, is there a way to mv them to new files without spaces in. For example I have the file Hello World.pdf I want to move it to Hello_World.pdf. Obviously for the one file I can use the mv command but I want to do it to all files in a folder.

Thanks

© Super User or respective owner

Related posts about unix

Related posts about command-line