Skip to content

Commit fcf8ddd

Browse files
committed
Add uuid_code script in order to generate random UUIDs and copy them to the clipboard (MacOS only).
🤖 We'll automate it declaring it as an Automator service in order to assign a keyboard shortcut 🎥 Video coming soon to https://youtube.com/CodelyTV
1 parent e2ac18a commit fcf8ddd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

automate-uuid-generation/uuid_code

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
uuid=$(uuidgen | tr '[:upper:]' '[:lower:]')
4+
echo -n $uuid | pbcopy
5+
echo $uuid
6+
7+
osascript -e 'display notification "'"$uuid"'" with title "UUID copied to the clipboard"'

0 commit comments

Comments
 (0)