Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

replace space with underscore in linux

for file in *; do mv "$file" $(echo $file | tr ' ' '_') ; done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #space #underscore #linux
ADD COMMENT
Topic
Name
1+4 =