How can I get yesterday's date in a MacOSX bash script? `date "yesterday"` doesn't work. And neither does `date -d-1`

@gabor date -j -v -1d

I havent got a Mac to test but apparently that should do it 🤔

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.