Created
November 4, 2017 22:55
-
-
Save lillyfreitas/3a8cb1b67c19887baa027ab1a62473b3 to your computer and use it in GitHub Desktop.
Estimar tamanho ocupado por uma pasta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fonte: https://unix.stackexchange.com/a/185765 | |
# du | |
# comando para estimar o espaço usado | |
# -s | |
# exibe apenas um total para cada argumento | |
# -h | |
# formato amigável (ex: 1K, 234M, 2G) | |
# -c | |
# total de mais de uma pasta/subpastas | |
du -shc nomepasta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment