Skip to content

Instantly share code, notes, and snippets.

@lfender6445
Created January 3, 2020 14:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lfender6445/2e37f211942a633fad252e8e751bc8e8 to your computer and use it in GitHub Desktop.
renames.md
for f in foo.replace; do
  mv -- "$f" "${f%.ts}.tsx"
done

find . -name "*.txt" -exec rename 's/.txt$/.newext/' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment