[PLUG] Mass Removal of White Space in File Names

Rich Shepard rshepard at appl-ecosys.com
Sun Apr 17 23:44:57 UTC 2011


   I have two directories of images where each file name has spaces between
the words. I'm not having success writing a shell script that takes each
name in sequence, removes the white spaces, and leaves the extension as-is.
I'm certain that this can be done in perl, python, ruby, scheme, awk, sed,
and so on. I believe that a shell script would be a one-liner.

   Suggestions appreciated.

Rich



More information about the PLUG mailing list