• Skip to primary navigation
  • Skip to content
  • Skip to footer
AlferSoft Blog
  • About
  • All Posts
  • GitHub
    Peuchele

    Peuchele

    Pedí pollo que yo pago la diferencia!

    • Email

    How to calculate the space used by files in Linux?

    February 19, 2010 less than 1 minute read

    Photo Credit: Wikimedia Commons

    Suppose that you want to calculate the space used by all the png files in current directory and all its subdirectories. From a terminal type:

    find . -name '*.png' -exec du -ab {} \; | awk '{total+=$0}END{print total}'

    Updated: February 19, 2010

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    Comments

    You May Also Enjoy

    Oldies - Radio Times

    April 24, 2017 4 minute read

    Old radiocommunication-related programs

    Sony Entertainment Network spam stopper

    September 13, 2015 2 minute read

    How to avoid Sony Entertainment Network e-mail notifications for an account that someone created using your address

    Denise’s birthday problem solution (in Python)

    June 17, 2015 1 minute read

    A python script to resolve Denise’s birthday problem

    Ludomatic Replacement Part

    May 25, 2015 less than 1 minute read

    This is a very simple model for printing Ludomatic part replacement. Ludomatic is a popular variation of Ludo

    • Feed
    © 2025 AlferSoft Blog. Powered by Jekyll & Minimal Mistakes.