Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

miguelmota/bigdirs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigdirs

Bash script to find big directories (>1GB).

Dependencies

  • realpath

    • Ubuntu
      apt-get install realpath
      
    • macOS
      brew install coreutils
      

Install

wget https://raw.githubusercontent.com/miguelmota/bigdirs/master/bigdirs.sh
chmod +x bigdirs.sh
sudo mv bigdirs.sh /usr/local/bin/bigdirs

Usage

$ bigdirs [flags] {path}

Example

Standard example

$ bigdirs ~/

Verbose example

$ bigdirs -v ~/

Verbose and exhaustive example (shows all big directories recursively)

$ bigdirs -v -e ~/

FAQ

  • Q: I'm getting a Permission denied error!

    • A: Try running as root user with sudo to scan permission restricted directories.

License

MIT