Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

size of directory powershell

ls -r | measure -sum Length
Comment

get folder size powershell

"{0} MB" -f ((Get-ChildItem C:users -Recurse | Measure-Object -Property Length -Sum -ErrorAction Stop).Sum / 1MB)
Comment

powershell calculate folder size in bytes

$(gci "C:Source" -recurse | measure lenght -sum).sum
# Gets size of C:Source in Bytes
Comment

PREVIOUS NEXT
Code Example
Shell :: pip uninstall all packages 
Shell :: install kazam ubuntu 18.04 
Shell :: what process consuming RAM 
Shell :: php 7.4 all extensions 
Shell :: brew install notion 
Shell :: install system images sdkmanager 
Shell :: windows command turn off screen 
Shell :: psycopg2 error install 
Shell :: install ffmpeg ubuntu 
Shell :: docker no sudo 
Shell :: set selinux ubuntu 
Shell :: kill process in windows using port number 
Shell :: centos7 addgroup 
Shell :: remove port binding windows 
Shell :: how to close a port mac 
Shell :: install bower npm 
Shell :: git delete changes 
Shell :: pytesseract 
Shell :: how to install openssl on windows 10 
Shell :: snap store fedora 
Shell :: ubuntu set scale to 150 
Shell :: see installed packages pacman 
Shell :: ffmpeg shrink video size 
Shell :: reload shell 
Shell :: install arronax 
Shell :: install vscode ubuntu 18.04 
Shell :: ubuntu command history 
Shell :: disable vscode server 
Shell :: cmd kill process by pid 
Shell :: conda notebook 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =