Created
October 4, 2019 03:38
-
-
Save phatnguyenuit/3c1a9639304943e3469fbeb7cf788c23 to your computer and use it in GitHub Desktop.
Update file name with bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for filename in **/__test__/*.test.tsx; do | |
mv $filename ${filename/.test/} | |
echo Updated $filename => ${filename/.test/} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment