Docs / Guardian and automation

Use Diskling with Shortcuts and Siri

Diskling adds four actions to the Shortcuts app, so a shortcut can check free space, clear what's safe, or free an iCloud Drive folder.

Updated

Shortcuts is the app on your Mac that strings actions together, from any app that offers them. Diskling’s actions run inside Diskling, with the same checks as everything else it does.

Find the actions

  1. Open the Shortcuts app. In Diskling, Automation has an Open Shortcuts button.
  2. Open a shortcut, or click + to make a new one.
  3. Click Edit if the shortcut isn’t already open for editing.
  4. Search for Diskling in the actions list on the right.
  5. Drag an action into your shortcut.

The four actions

Get Free Space returns the free space on your startup disk, the same number Finder shows, in bytes. It also says it in words, like “49.06 GB free of 494.38 GB”.

Run Safe Cleanup clears the items marked Safe from Diskling’s last scan, like Homebrew downloads and old logs. These are the items Clean ticks for you. It returns the bytes it freed, and each run shows up in History. Diskling needs to have scanned this Mac once before this works.

Scan Folder asks for a folder and returns its size and the five biggest things in it, as text.

Make Folder Online-Only asks for an iCloud Drive folder and leaves its files in iCloud only, which frees their space on your Mac. They download again when you open them. It returns the bytes it freed. Folders in other cloud drives aren’t supported, since their own apps do this.

The numbers come back as values, so the next action in your shortcut can use them. For example, an If action can run Safe Cleanup only when Get Free Space returns less than 20000000000, which is 20 GB.

Ask Siri

Two actions also work without making a shortcut. Ask Siri “How much space is free in Diskling” or “Run a safe cleanup with Diskling”. You’ll also find both in the Shortcuts app under Diskling, ready to run.

Free and Pro

The Shortcuts actions are part of Pro. On Free, an action stops with a note to open Diskling, Settings, License. See your license for how the trial works.

Still stuck? Tell us what you see, and attach the diagnostics report from Help.Contact us