1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Create filesize.nu

script for showing sizes of all directories in current directory
This commit is contained in:
Yethal 2021-08-08 11:45:13 +02:00 committed by GitHub
parent 2757d62979
commit 82e08e645a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,2 @@
## show directory sizes in current directory starting from the largest
ls|where type == Dir|each {du $it.name}|sort-by apparent|reverse|format filesize apparent GB