Last active
May 3, 2024 20:00
-
-
Save leachryan/879f5c22034ccfdd8668b2ee43f30dcd to your computer and use it in GitHub Desktop.
MacOS UUID Generator
This file contains hidden or 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
# uuidgen generates a UUID, but in capital letters | |
# The generated UUID is piped into tr which transforms it to lowercase | |
# The lowercase output is piped into another tr, but this removes any newline characters | |
# Finally, that output is piped into pbcopy, which copies the UUID to the clipboard | |
uuidgen | tr "[:upper:]" "[:lower:]" | tr -d '\n' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment