batch rename files
REM # |EXAMPLE: Replace ")" with "_" within the filenames in the current directory
@echo off
setlocal EnableDelayedExpansion
set "pattern_to_replace=("
set "replace_text=_"
for %%N in ("*") do (
set "InitName=%%N"
call set NewName=%%InitName:!pattern_to_replace!=!replace_text!%%
rename "!InitName!" "!NewName!"
)
@echo on
Also in Shell:
- unzip gz file linux
- install scypi
- shell script variable
- git clean all submodules on branch switch
- ttys003 on mac bash
- grepper shortcut key
- passport deploy to server
- pkg-config: No such file or directory
- pipe + exec duplicate stdout linux
- command to edit in terminal linux
- whats the internet
- git ignore file mode changes
- git reset specific file
- git abort stash pop
- how to copy contents of ssh key into clipboard
- batch rename files
- how to stop a web server linux
- recover lost file git
- touch for powershell
- git show diff between branches
- clear untracked files git
- gitlab docker runner
- rails server already running
- setup mysql ubuntu