Create Disk Usage Reports with durep
Sponsored Link
Install durep in Ubuntu
Use the following command to install durep
sudo aptitude install durep
Using durep
durep Syntax
durep [OPTION]... [DIRECTORY]
durep Examples
1. "durep -w ~/durepweb -td 2"
This would print the directory tree starting from the current directory to depth 2 to the console and also create web pages in the directory ~/durepweb (this directory must exist).
2. "durep -f /var/spool/mail"
This might be useful for keeping a check on the mail directory. The "-f" switch tells durep to just scan files and not descend into directories. Since the "-w" switch is not present, no web pages are produced.
3. "durep -x -cp "/(etc|usr/share)" -ep "/var" /"
This more complicated version does the following. It scans the root filesystem only, hides the contents of any paths begining /etc or /usr/share and skips the contents of the /var directory.
4. "durep -q -sf durep.save /home "
This scans /home and saves the results to the save fail durep.save. No text output is produced.
5. "durep -q -w ~/durepweb -lf durep.save /home "
This reads the save file durep.save and produces a web report from it in the directory ~/durepweb. No text output is produced.
nice tip!
another useful application for disk usage it’s , an java multi-platform utility that collects several statistics and show them as overview charts (bar, ring and pie) and details tables of the scanned folder sizes. it provide also top 50 files, distribution of sizes, file types and modification dates, etc.
JDiskReport is a freeware “ad-free uncrippled no-charge binary multi-platform software that never expires”, and it’s very useful!!!
P.S.: I recommend a nautilus-actions entry to make your life easier:
java -jar jdiskreport-1.3.0.jar %d/%f