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