Last active
May 13, 2024 13:06
-
-
Save Photon94/b5a0ff2e0fc337b2ba65823abce95e6d to your computer and use it in GitHub Desktop.
Bash alias for uuid generation
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
alias uuid='python3 -c "import uuid, sys;args=sys.argv;args.append(1);[print(uuid.uuid4()) for _ in range(int(args[1]))]"' | |
# Usage: | |
# uuid 3 | |
# adaf48fa-a636-444f-8aa1-31d9d5844a91 | |
# a7342fde-eaa9-4b87-9834-113defb969da | |
# cd4d06f2-c3c9-4e46-868f-737962bae7bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment