How to check remaining device storage

I'm a new user of Keyboard Maestro and trying to figure out how to check for the remaining disk space.

I plan to run a Time of day macro twice a day to check if my disk space is below a certain treshold and only notify me when it gets below that value.

Thanks.

There are many ways to do this, I would think, and I believe there are already some posts on this website which explain how to do this. But I just came up with a custom solution for you. It's very basic. It tests the capacity of a partition. Run the "df" command to find out what partitions you have. Or maybe this macro will work as-is for you, if your partition names are the same as mine.

1 Like