Top "Du" questions

du is a unix command to measure disk usage

Error when calling 3rd party executable from Powershell when using an IDE

I have a PowerShell script that uses du.exe (Disk Usage originally from Sysinternals) to calculate the size of directories. …

ide powershell powergui du
Show human-readable file sizes in OSX terminal

In Linux, I type du -sh * | sort -rh to display the files and directories in my current directory, sorted from …

macos terminal du
du -h --max-depth=1 takes long time

When I try to calculate the size of files and directory inside the directory it takes longer time. The command …

linux du
Exclude all permission denied messages from "du"

I am trying to evaluate the disk usage of a number of Unix user accounts. Simply, I am using the …

shell sorting warnings suppress-warnings du
du counting hardlinks towards filesize?

I have a backup system that creates directories named after Unix Timestamps, and then creates incremental backups using a hardlink …

linux diskspace du
Linux du command without traversing mounted file systems

If the wording of the question is wrong, please let me know. It might explain why I can’t find …

linux du mount-point
why is the output of `du` often so different from `du -b`

why is the output of du often so different from du -b? -b is shorthand for --apparent-size --block-size=1. only using …

linux filesystems filesize du
How to Exclude a Specific Directory in NCDU Command

How to exclude a directory from ncdu scanning? I can't found the information in man ncdu page. When doing ncdu …

linux command-line terminal command-line-interface du
Listing the results of the du command in alphabetical order

How can I list the results of the du command in alphabetical order? I know I can use the find …

linux du
Fast(er) way to get folder size with batch script

PLEASE SEE BELOW THE ORIGINAL QUESTION FOR SOME TEST COMPARISONS OF DIFFERENT WAYS: So I tried 2 ways so far: 1.Iterate …

windows batch-file cmd du