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 :: docker check running containers 
Shell :: extract rockyou.txt kali linux 
Shell :: random 6 digit number c# 
Shell :: cmake: not found 
Shell :: installed python 3.8 but where is pip 
Shell :: how to download a repository as zip 
Shell :: kill adb device or emulator 
Shell :: install CMake on fedora 
Shell :: error install cocoapods 
Shell :: certbot enable nginx renew 
Shell :: set selinux 
Shell :: bash echo to stderr 
Shell :: setting the upstream for a fork github 
Shell :: git reset to latest commit 
Shell :: npm install vuelidate 
Shell :: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: device or resource busy 
Shell :: git discard all changes 
Shell :: create a virtual environment python conda 
Shell :: github desktop for linux 
Shell :: bashrc file location in linux 
Shell :: screen recorder ubuntu 
Shell :: extract tar.xz ubuntu 
Shell :: stop apache service 
Shell :: git commit --amend choose editor 
Shell :: linux get url after redirections 
Shell :: android studio licenses 
Shell :: remove openshot ubuntu 
Shell :: ubuntu echo create file 
Shell :: taskkill 
Shell :: notebook upgrade with conda 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =