Horje
replace space with underscore in linux Code Example
js replace space with underscore
var string = "my name";
string = string.replace(/ /g,"_"); //returns my_name
replace filename space with underscore bash
for file in *; do mv "$file" `echo $file | tr ' ' '_'` ; done
replace space with underscore in linux
for file in *; do mv "$file" $(echo $file | tr ' ' '_') ; done
linux replace spaces with underscore from all files in directory
find . -type f -name "* *" -exec bash -c 'mv "$0" "${0// /_}"' {} \;
replace space with underscore command line in file name
@echo off
Setlocal enabledelayedexpansion

Set "Pattern= "
Set "Replace=_"

For %%a in (*.exe) Do (
    Set "File=%%~a"
    Ren "%%a" "!File:%Pattern%=%Replace%!"
)

Pause&Exit




Shell

Related
nvm use globally Code Example nvm use globally Code Example
bash randomly shuffle all rows of a file Code Example bash randomly shuffle all rows of a file Code Example
ubuntu echo create file Code Example ubuntu echo create file Code Example
ls one file per line Code Example ls one file per line Code Example
git mainstages Code Example git mainstages Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
18