Skip to content

Instantly share code, notes, and snippets.

@lfender6445
Created January 3, 2020 14:38
Show Gist options
  • Save lfender6445/2e37f211942a633fad252e8e751bc8e8 to your computer and use it in GitHub Desktop.
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