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

Merge pull request #88 from Yethal/patch-3

Update filesize.nu
This commit is contained in:
JT 2021-08-12 20:49:09 +12:00 committed by GitHub
commit c1481973ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,2 +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
ls -d|where type == Dir|sort-by size|reverse|format filesize apparent GB