Skip to main content

pregos blog

  • Blog
  • Kontakt
  • Impressum

Schlagwort: consumption

Show disk usage based on file extension / regex

31. Mai 201231. Mai 2012 prego Schreib einen Kommentar

Problem: Show disk usage of a folder and its subfolders based on the file extension / regex.

Solution:

find . -regex '.*\.tif' -print0 | du --files0-from=- -ch | tail -1

find . -regex '.*\.tif' -print0 | du --files0-from=- -ch | tail -1

[via]

Fratze

prego - August 15, 2020

Tweets

@rotnroll666 @taseroth Guck Mal nach Hängematten 😜 about 16 Stunden ago
Hey @dd24, eure HTTP API für das dyndns Update ist seit heute morgen kaputt. Wann wollt ihr das wieder fixen? about 2 Tagen ago
RT @goulcher: can't stop thinking about people that first ate mushrooms they found and just had to go through trial and error of like, this… about 3 Tagen ago

Neueste Kommentare

  • Stefan bei Puppet: Hiera und Puppet – Installation, Einrichten, Moduleinbindung
  • prego bei chmod 755 rekursiv NUR auf Verzeichnisse
  • linuxfan bei chmod 755 rekursiv NUR auf Verzeichnisse

Archive

RSS

  • Beitrags-Feed (RSS)
  • Kommentare als RSS

  • Twitter
  • Github
pregos blog All rights reserved. Theme von Colorlib Powered by WordPress