check size of folder terminal code example
Example 1: command to check size of folder in linux
du -lh --max-depth=1 --block-size=M | sort -nr
Example 2: terminal get folder size windows
# On PowerShell:
cd "your folder path"
ls -r | measure -sum Length