erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Posted on 15. 04. 202515. 04. 2025 by erol

Sort du output by folder size

Easiest way to sort subdirectory sizes:

du -h -d 1 |sort -k1 -rh

Where du -h -d 1 is used to show human readable format (-h) and only 1st level of subdirectory (-d 1).

CategoriesUncategorized

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous PostPrevious Mount Nextcloud as drive in Windows WebDAV
Next PostNext Libretro vs MAME romset mapping

Recent Posts

  • Zip individual files by extension in separate zip file with the same filename and zip extension
  • Libretro vs MAME romset mapping
  • Sort du output by folder size
  • Mount Nextcloud as drive in Windows WebDAV
  • Check MD5 hash of file in Windows 10 from command line

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2024 by Erol Tahirović