- Forums
- Bash Scripts
- Bash Command To Find And Replace File Extension Matches To Rename
This Page Contains information about Bash Command To Find And Replace File Extension Matches To Rename By jj in category Bash Scripts with 0 Replies. [5136], Last Updated: Mon Jun 24, 2024
jj
Tue May 30, 2023
0 Comments
235 Visits
find . -name "*.js" -not -path "./node_modules/*" -exec bash -c 'git mv "$1" "${1%.js}".jsx' - '{}' \;
This is very simple i used for javascript projects that need to be changed to typescript and vise versa.