“Delete” (Move) to Trash in macOS Shell
A short one today: here is a function to “delete” (read: move) a file to the macOS Trash (Bin), as a safe alternative to rm
.
the road less travelled
Hi! I’m C.Y. Wong, and welcome to my slice of the Internet!
This is primarily a record of things I’ve learnt...
but maybe you’ll find something that interests you too.
A short one today: here is a function to “delete” (read: move) a file to the macOS Trash (Bin), as a safe alternative to rm
.
Want to check your connected bluetooth device battery level on a mac? Here is one way: using xbar (I am aware there are a bunch of other xbar plugins to do something similar, but I’ve been using my own script before I ever used xbar).
Did you know that macOS has a built-in game performance HUD with a frames per second (FPS) counter, similar using RivaTuner Statistics Server (RTSS) to display a GPU performance overlay in Windows? Here’s how to enable the Metal Performance HUD.
Not long ago, I was reminded of one of my favourite digital artists, Linda Bergkvist a.k.a. Enayla. I love her macabre yet stunningly beautiful and evocative art, but alas, she’s not posted her art since around 2007. This post is a departure from my usual techie stuff -- it’s just appreciation post!
Some time ago, I explained how I setup “Global hotkeys for macOS with skhd”. I mentioned running it automatically upon login via the macOS Launch Daemon but did not detail the steps. So here they are...
I have been using UTM on M1/M2 macs for all my virtualization needs for a while, but never posted much because it practically works out of the box. Since around October 2022, UTM v4.0.9 on macOS Ventura allows Apple Hypervisor Virtualization Virtual Machines to use Rosetta 2.