Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ignore spaces in file names in bash shell script

for f in * *; do mv "$f" "${f// /_}"; done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ignore #spaces #file #names #bash #shell #script
ADD COMMENT
Topic
Name
1+6 =