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