Skip to content

Instantly share code, notes, and snippets.

View sharunkumar's full-sized avatar
💻
Working on new projects

Sharun sharunkumar

💻
Working on new projects
View GitHub Profile
@sharunkumar
sharunkumar / folder-size.cmd
Last active April 23, 2025 12:23
Windows Batch script for getting the size of the folder in bytes. Usage: folder-size "<directory>"
@echo off
setlocal ENABLEDELAYEDEXPANSION
set firstline=.
set secondline=.
@FOR /F "tokens=1 delims=^^" %%G IN ('dir /s /a "%~1"') DO (
set firstline=!secondline!
set secondline=%%G
)
echo !firstline!
@sharunkumar
sharunkumar / Keybase.io
Created August 14, 2018 17:53
Keybase Verification
### Keybase proof
I hereby claim:
* I am sharunkumar on github.
* I am sharunkumar (https://keybase.io/sharunkumar) on keybase.
* I have a public key ASBSekqzGALQs8Ki4rIXBoNiu0H5tYINN6wwNX078j-PsAo
To claim this, I am signing this object: