- 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: Fri Jun 02, 2023
jj
Tue May 30, 2023
0 Comments
141 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.