Skip to content

Instantly share code, notes, and snippets.

@razzul
Created February 15, 2018 11:35
Show Gist options
  • Save razzul/ff3ed6ec02bf2281d000f649f6e9c9b8 to your computer and use it in GitHub Desktop.
Save razzul/ff3ed6ec02bf2281d000f649f6e9c9b8 to your computer and use it in GitHub Desktop.
Change file name from `_` to `-`
-----------------
> $ for f in *.json; do mv "$f" "`echo $f | sed s/UTID_/UTID-/`"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment