Skip to content

Instantly share code, notes, and snippets.

@decima
Last active Jul 16, 2021
Embed
What would you like to do?
Small CLI Tool which lists biggest top 10 files/folders
#!/bin/sh
du -hsx ${1:-.}/* | sort -rh | head -10
@decima

This comment has been minimized.

Copy link
Owner Author

@decima decima commented Jun 3, 2019

how to install on linux/macos
you'll need curl

sudo curl  -L https://gist.githubusercontent.com/decima/52582ba8e09a8b73354e4ac34b6ed723/raw/15e4b9610f9b41b491930d09153359d6e66874ef/ducks.sh -o /usr/local/bin/ducks
sudo chmod +x /usr/local/bin/ducks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment