Apple Terminal
Read-only, can be slowFind Large Files Inside a Project
A project folder contains unexpectedly large files that slow sync, backups, or Git operations.
Command
find . -type f -size +100M -print
Before you run this
System impact: Read-only. Can create load on large logs, directories, filesystems, or process tables.
When not to use it: Do not use it to measure total folder size. Use du for that.
Expected output
Paths to files larger than 100 MB, one per line.
System impact
Read-only, can be slow. Nothing changes. The command only lists matching files.
Scope this to the smallest useful path or service on busy systems.
Recovery / rollback: no state is changed.
When to use it
Use before commits, uploads, backups, or when a project folder suddenly becomes huge.
When not to use it
Do not use it to measure total folder size. Use du for that.
Watch this command run
Command transcript
This sanitized transcript shows the commands and output shape without exposing host details.
$ find project -maxdepth 2 -type f -print | sort
project/dist/bundle.js
project/export/final.mov
project/logs/app.log
project/src/app.ts
project/trusted-tool
$ cd project && find . -type f -size +100M -print
./export/final.mov
View commands shown
These are the commands shown in the sanitized transcript.
Commands shown
find project -maxdepth 2 -type f -print | sortcd project && find . -type f -size +100M -print
next steps
Related commands
Find Empty Files in a Backup
Zero-byte files can be normal, or they can be failed writes.
find backup -type f -size 0 -print
Check a URL Without Downloading the Page
Before opening a broken page in five browsers, ask the server for headers.
curl -I https://example.com
Show Your PATH One Entry Per Line
Wrong Node, Python, or FFmpeg? Start by reading your PATH clearly.
echo "$PATH" | tr ':' '\n' | nl -ba
Find Which Folder Is Eating Disk Space
When your Mac is full, start with the biggest folders in the current directory.
du -sh ./* 2>/dev/null | sort -h
Watch a Log or Build File Update
Need to see whether a file is still changing? Let tail follow it live.
tail -f ./app.log
Study mapping
Use this as independent command practice: read the notes, predict the output, then compare it with the example before using a real shell.
Useful for
- LPIC-1 style command-line practice
- LFCS style performance tasks
- Linux+ style troubleshooting review
Independent study support only. No affiliation, endorsement, exam dumps, or real exam questions.