Demo workflow: Directory size

Alfred workflow that shows the size of a directory.

A specific directory can be specified in the workflow's configuration sheet. Use keyword dirsize to show the size of this directory.

There is also a “Show Size” File Action, which shows the size of any directory.

As the size of a directory is calculated on-the-fly, the workflow can be slow on large directory trees.

Under the hood, it uses du -h -d 0.

Search engine demo workflow
0f96894