Useful osx bash commands

October 25, 2020

Some useful bash commands I use over and over at the moment and don’t want to forget.

To create a lowercase guid on the command line

uuidgen | tr "[A-Z]" "[a-z]"

To zip and password protect a document on the command line

zip -er <zipname>.zip <file(s) to zip>.txt

Darragh ORiordan

Hi! I'm Darragh ORiordan.

I live and work in Sydney, Australia enjoying the mountains and the ocean.

I build and support happy teams that create high quality software for the web.

Contact me on Twitter!


Get new posts, curated tech articles and coding tips!