💾 The File Count Challenge 🔎

Have you ever wondered how many PDFs, images, videos, or particular kind of files you have on your device? It is the time to find out.

I am hereby proud to officially launch a Fedi-wide file count challenge, in exclusive partnership with the 2025-27 class of @xpub 👾

💁 How to participate

  • Go to your main device (not mobile)
  • Open the terminal
  • Run find . | grep '.pdf$' -c (on Windows: gci -r | where Name -match '\.pdf$')
  • Repeat the previous command, replacing “pdf” with any file format you are interested in sharing. We suggest: jpg, mp3, and png. 🔆 Bonus: html, js, ttf, odt, svg
  • Take a screenshot of the output
  • Share the screenshot on the Fediverse, using the #fileCountChallenge hashtag (please, copy-paste the actual text from the terminal in the image description/alt text)
  • Add your (user)name and results to the scoreboard
  • 🆒 Bonus: share the story explaining why you have so many/little files for one format.
  • 🏆 Awards

    There is a secret prize for the three people who have the most PDFs, JPEGs, and HTMLs. More info to follow.

    Boost, share, fork… Do whatever you want, but please have fun while doing it.

    I willl keep writing updates. Yaaaaaaay ⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️⌨️

    #fileCountChallenge #fileCount #XPUB #challenge #terminal #Linux #cmd #CLI #find #grep #filesystem #file #files

    @tommi @xpub

    #fileCountChallenge

    This is actually from my NAS, since i can't keep everything around even on my desktop anymore /o\

    .JPG is mostly from time lapse photography
    .jpg and .gif is mostly from @onlytrains
    .c and .h is mostly from Linux, QMK and Cosmopolitan source code
    .py is mostly home assistant source code and projects installed/built using pipx/poetry
    .json is mostly from home assistant code
    .mp3 is actually more podcast episodes than music
    .png is mostly factorio <3