Recursive file sizes (filtered by file type)

I had to find out the size of all our images on a site today. This was the easiest and fastest way to do it

[code]

find /home/username/public_html -name ‘*.png’ -printf “%s\n”|awk ‘{sum+=$0}END{print sum}’

[/code]

1 thought on “Recursive file sizes (filtered by file type)

  1. lasercap Hair club for men

    FDA laser safety standards for identification, each 5-10 minutes, every 1 to 2 times will be able
    to achieve the maximum effect, general hair loss after
    three weeks there will be improved signs of immature hair growth
    hair loss site, in the course of treatment after three months, you
    can see the thicker and darker hair grow. However, it comes with a relatively steep price tag of $500 or more.
    Speaking of ball game, do you know that you can advertise using your bald head.

Leave a Reply

Your email address will not be published. Required fields are marked *