command prompt size of folder code example Example: terminal get folder size windows # On PowerShell: cd "your folder path" ls -r | measure -sum Length