Quantcast
Channel: How to output all files/folders ordered by size, including hidden ones - Server Fault
Browsing all 2 articles
Browse latest View live

Answer by Henke for How to output all files/folders ordered by size,...

How can I output all files/directories, ordered by size, including hidden ones?Use the du (disk usage) command, which is part of GNU coreutils : 1du -hs -- * .[^.]* | sort -hThe .[^.]*regular...

View Article



How to output all files/folders ordered by size, including hidden ones

How can I output all files/directories, ordered by size, including hidden ones (those whose name starts with a dot), all in one go?By size of a directory, I mean the sum of all file sizes in the...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images