Register now and start sharing your code snippets.
-->

Bulk renaming of files

Shell Script (Bash) posted about 1 year ago by marko

Rename the files in a directory by replacing a space with an underscore. The rename program comes with most modern Linux distros.

   1  rename 's/\ /_/g' *.*

Tagged rename, regexp, bulk, filename, bash, perl, linux