-
-
Save jimmyhoran/fcdfa6c3e74722896c5e09a049a31a44 to your computer and use it in GitHub Desktop.
bash function to generate a random, lower-cased UUID in MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uuid () { | |
local newuuid=${$(uuidgen):l} | |
echo -n ${newuuid} | pbcopy | |
echo "copied ${newuuid} to clipboard" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment