Skip to content

Instantly share code, notes, and snippets.

@sheniff
Created June 17, 2016 01:25
Show Gist options
  • Save sheniff/7ed9d9e82c91867059c209ec3750d0d8 to your computer and use it in GitHub Desktop.
Save sheniff/7ed9d9e82c91867059c209ec3750d0d8 to your computer and use it in GitHub Desktop.
# I can choose multiple folders with {} and random depth levels with **
for file in client/{app,components}/**/*.js
do
mv "$file" "${file%.js}.ts"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment