Everywhere All articles Download Buy for $19

Organising files

How many files is that?

Updated 2026-07-31 · 3 min read

Finder can count, badly. The Terminal counts precisely, with conditions.

Finder

Select everything (⌘A) and the count appears in the window's status bar — enable it via View → Show Status Bar. Or ⌘I on a folder for its item count.

Both count immediate items, folders included. For a real file count, deep, with conditions, use the shell.

Everything, recursively

find ~/Documents -type f | wc -l

-type f counts files only; drop it to include folders. Hidden files are included, which Finder's count omits.

With conditions

find . -name "*.jpg" -type f | wc -l              # jpgs
find . -type f -size +10M | wc -l                 # big files
find . -type f -mtime -30 | wc -l                 # touched this month
find . -type d | wc -l                            # folders

Per subfolder

for d in */; do printf "%6d  %s\n" "$(find "$d" -type f | wc -l)" "$d"; done | sort -rn

Counts each immediate subfolder — the audit view for "which of these is enormous".

Counting names with odd characters safely

Filenames containing newlines (rare, legal) break line counting. The bulletproof form:

find . -type f -print0 | tr -cd '\0' | wc -c

Why counts matter

Verifying copies and merges (source count == destination count before deleting anything), estimating how long an operation will run, and settling whether that folder really contains forty thousand files (node_modules: yes).

Common questions

How do I see a file count in Finder?

Show the status bar (View menu), select all in a folder — the count is at the bottom. ⌘I on a folder shows its item total.

Does Finder's count include hidden files?

No. find . -type f | wc -l in Terminal counts everything.

Find any file before you finish typing

Everywhere keeps track of every file on your Mac, including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.

Version 2.20.3 · macOS 13+ · 4.7 MB · notarised

Related

© 2026 Caretopia Network Private Limited Everywhere for Mac Buy a licence Articles Privacy Support