Skip to content
Three verified macOS Terminal commands in a table: printf '%s' "user:pw" | base64 gives dXNlcjpwdw==; base64 -d

How to Encode and Decode Base64 on macOS

macOS ships a base64 command at /usr/bin/base64, so there’s nothing to install — it’s the FreeBSD version, which differs from the GNU one on Linux in a couple of ways worth knowing. This covers encoding… 
Dark terminal card headed Two ways to hide a file, showing ls -lO output where flagged.txt carries hidden in the file flags column while visible.txt carries a dash, and ls -ldO on the Library folder showing it also carries the hidden flag despite having no dot in its name, with labels reading a leading dot or the hidden flag and user name redacted

How to Show Hidden Files on a Mac

There is a keyboard shortcut that shows hidden files in the Finder immediately, and for most people that is the entire answer. What trips people up comes after: some files stay out of sight even…