for f in foo.replace; do
mv -- "$f" "${f%.ts}.tsx"
done
find . -name "*.txt" -exec rename 's/.txt$/.newext/' {} \;
Created
January 3, 2020 14:38
-
-
Save lfender6445/2e37f211942a633fad252e8e751bc8e8 to your computer and use it in GitHub Desktop.
renames.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment