DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux replace spaces with underscore from all files in directory
find . -type f -name "* *" -exec bash -c 'mv "$0" "${0// /_}"' {} ;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#linux
#replace
#spaces
#underscore
#files
#directory
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit