#fileCount

Tommi 🤯tommi@pan.rent
2026-01-27

💾 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

  1. Go to your main device (not mobile)
  2. Open the terminal
  3. Run find . | grep '.pdf$' -c (on Windows: gci -r | where Name -match '\.pdf$')
  4. 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
  5. Take a screenshot of the output
  6. 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)
  7. Add your (user)name and results to the scoreboard
  8. 🆒 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

find | grep '.ttf$' -c
427

find | grep '.odt$' -c
637

find | grep '.svg$' -c
3737

find | grep '.mp3$' -c
150

find | grep '.js$' -c
38819

find | grep '.png$' -c
19199find | grep '.pdf$' -c
2676

find | grep '.html$' -c
7292

find | grep '.md$' -c
8093

find | grep '.mp4$' -c
1386

find | grep '.jpg$' -c
20561

find | grep '.jxl$' -c
35

find | grep '.ttf$' -c
427
2024-08-21

2471553

Lars Wirzeniusliw@toot.liw.fi
2024-08-21

✦ 14:28:27 > find $HOME -printf x | wc -c
3018688

That's how many files I have in my home directory on my primary computer. What about you?

#curious #fileCount

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst