• Latest
  • Trending
  • All
Answer card: find files on Linux with find . -name, filtering by type, size or mtime and acting with -delete.

How to find files with find on Linux

3 September 2026
Answer card stating that the public download pages for the VMware Virtual Disk Development Kit on developer.broadcom.com began returning 404 errors on 25 August 2026 with no announcement or deprecation notice, that Broadcom support tells customers the kit is no longer available for use or download, and that release lines 7.0.3.1, 8.x and 9.x are all affected.

Broadcom pulled VDDK 8.0 and 9.0, and the 404 is the only notice

8 September 2026
Answer card stating that OpenAI published its research acceleration measurements on 6 September 2026, that as of mid August 2026 its research organisation logged 3.1 agent workdays of coding agent runtime for every workday of human labour normalised to a standard eight hour day, and that OpenAI states this should not be read as a 3.1 times productivity gain because it measures runtime rather than delivered output.

OpenAI’s 3.1 agent-workdays per human day is not a 3.1x gain

7 September 2026
Answer card stating that Mullvad announced on 3 September 2026 that it is shutting down its public encrypted domain name system servers on 2 November 2026 and sponsoring the Quad9 Foundation instead, with 194.242.2.2 and its five sibling addresses all going away, and virtual private network customers unaffected.

Mullvad’s DNS servers go dark on 2 November, and Quad9 blocks no ads

5 September 2026
OpenAI announcement image for GPT-6 Astra, a spiral galaxy of white, blue and amber points of light curling around a bright core on a near black star field.

GPT-6 Astra lists at $10 and $50, 2.5x what GPT-5.6 Sol costs

6 September 2026
Google's official announcement image for the release, reading Introducing Gemini 3.8 Flash and 3.8 Flash Cyber in black type over a pale blue background with a blurred white chevron and the four colour Gemini spark below.

Gemini 3.8 Flash keeps the price and the 1 January cliff

3 September 2026
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Anthropic moves retention into your own cloud, for 30 days

3 September 2026
Official Google diagram of a client connection in three numbered steps: a DNS lookup with a query and an address, a TLS ClientHello and ServerHello, then a content exchange with a website. A callout on the DNS step reads 25% of global web traffic is now protected by encrypted DNS, and a callout beside an Android phone on the ClientHello step reads Android 17 supports ECH GREASE by default.

Android 17 hides the SNI, not your DNS or destination

3 September 2026
Still frame from the Claude Fable 5.1 launch video showing model-designed protein binders in orange docked against twelve grey target proteins, rendered as ESMFold2 structure predictions.

Claude Fable 5.1 breaks forced tool use, cuts cache 75%

1 September 2026
Answer card stating that on 31 August 2026 the European Commission designated ChatGPT a Very Large Online Search Engine under the Digital Services Act, the first conversational AI service classified that way, because it answers user prompts and queries including by searching the web, with OpenAI having declared roughly 159.1 million average monthly users in the European Union for ChatGPT search.

The EU now calls ChatGPT a very large search engine

3 September 2026
Answer card stating that on 31 August 2026 the Department of War added OpenAI ChatGPT Mil and Starshield AI Grok for Government to the GenAI.mil portal alongside Google Gemini, all three accredited at Impact Level 5 for Controlled Unclassified Information, with 1.7 million unique users onboarded out of roughly 3 million eligible personnel, and ChatGPT Mil currently serving GPT-5.4 Terra with GPT-5.6 Terra said to be rolling out.

ChatGPT Mil and Grok reached IL5 on GenAI.mil

3 September 2026
Answer card stating that Anthropic opened a research preview of the Model Hardware Standard on 27 August 2026, standardising the driver layer between an operating system and a laboratory instrument with read and write primitives plus discovery and safety limits, reachable through MCP as well as a command line and code files, with no public specification published.

Anthropic’s Model Hardware Standard is gated, and sits under MCP

3 September 2026
Official Cohere key art for the Parse 5 launch: the Cohere mark and the wordmark Parse with a superscript 5 in white, centred on a soft out of focus gradient of deep blue, violet and amber curves.

Cohere Parse 5 is $1.50 per 1,000 pages, on three of five dimensions

3 September 2026
  • About
  • Contact
  • Privacy
  • Legal
Wednesday, September 9, 2026
  • Login
Packet Nebula
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About
No Result
View All Result
Packet Nebula
No Result
View All Result
Home Sysadmin

How to find files with find on Linux

by stephane
3 September 2026
in Sysadmin
0
Answer card: find files on Linux with find . -name, filtering by type, size or mtime and acting with -delete.
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter

A disk fills up, or a config file vanishes, and suddenly we need one file out of fifty thousand. find is the tool for that, and its shape never changes: find, then where to look, then what to match. find . -name '*.log' lists every .log file under the current folder; swap the dot for /var/log to search there instead. From there we filter. -type f keeps it to files (d for directories), -size +100M pulls out the big ones. -mtime -7 catches anything changed this week. Then we act on the matches with -delete or -exec. It ships on every Linux and macOS box, no install. Here's the everyday syntax we actually reach for, plus the safe way to delete matches without wiping the wrong tree.

The short answer

find . -name '*.log' lists matching files below the current folder. Narrow with -type and -size (or -mtime for age), then act with -delete or -exec. Run it without -delete first and read the list. Every time.

-namematch by name
-size / -mtimeby size or age
-deleteact on matches
Answer card showing find . -name to locate files, filtering by type, size and mtime.
Where to look, what to match, then what to do. That’s the whole shape of find.

Find by name, size or age

Linux
find . -name '*.log'

That walks the current folder and everything under it. Case getting in the way? -iname matches without caring about it.

Linux
find /var/log -name '*.log' -mtime +30

That one lists logs nobody has touched in a month. And when something’s eating the disk, we match on size, files only:

Linux
find . -type f -size +100M

Act on the results, carefully

Linux
find . -name '*.tmp' -delete

Run it once without -delete and read the list. Every line. find does exactly what we tell it, including deleting a tree we never meant to touch. I’ve watched that happen, and it’s a bad afternoon.

Terminal showing find by name listing log files, find with -mtime for old logs, then find with -delete.
List, narrow, then act. The -delete goes on last, after you trust the list.

Other handy filters

-type d finds directories, -empty finds empty files or folders. -newer ref matches anything modified more recently than a reference file, and -exec command {} + runs a command on every match when -delete isn’t what you need.

Three things make find pleasant rather than painful, and none of them are obvious from the manual page.

First, -maxdepth has to come before the other tests or find complains, and it saves you from walking an entire filesystem when you only meant the current folder. Second, permission errors will flood your terminal on any system-wide search, so send them away with 2>/dev/null and read what’s left. Third, excluding a directory needs -prune rather than a filter, which is the syntax everybody looks up every single time.

Linux and macOS
find . -maxdepth 2 -name '*.log' 2>/dev/null
Linux and macOS
find . -path ./node_modules -prune -o -name '*.js' -print

One more, on -exec. Ending it with ; runs your command once per match, which on ten thousand files means ten thousand processes. Ending it with + batches the matches into as few invocations as possible, exactly like xargs does, and it’s dramatically faster. We use + unless the command genuinely needs one file at a time.

We’ll admit the syntax never quite becomes muscle memory. It’s the order that catches us out, because the path comes before the tests and the action goes last, and getting that wrong accounts for most of the errors you’ll ever see from this command.

Frequently asked questions

How do I find a file by name?

find . -name '*.conf' lists every .conf file under the current directory. -iname does the same job but ignores case. And keep the quotes around the pattern, otherwise the shell expands the star before find ever sees it.

How do I find files bigger than a certain size?

It's -size plus a suffix: -size +100M means larger than 100 MB, -size -1k means smaller than 1 KB. We always add -type f too, so it matches files only, not directories.

How do I find files changed recently?

Days are the unit for -mtime: -mtime -7 means modified in the last 7 days, -mtime +30 means older than 30 days. Need minutes instead? -mmin works exactly the same way.

How do I delete the files I found, safely?

Run the find without -delete first and actually read the list. Once it's exactly right, append -delete (or -exec rm to act on each one). Deleting blind is how people erase the wrong tree. Look first, every time.

Tags: clifilesfindguidelinux
Share196Tweet123
stephane

stephane

  • Trending
  • Comments
  • Latest
The Agentic Coding section of the official Hy4 preview benchmark appendix published by Tencent, a table comparing Hy3 and Hy4 preview against DeepSeek V4 Pro 0813, Qwen 3.8 Max, GLM 5.3, Kimi K3, GPT 5.6 Sol and Claude Opus 5 across SWE-bench Multilingual, SWE-bench Pro, DeepSWE, three SWE Atlas tasks, SWE-Marathon, Terminal-Bench 2.1, NL2Repo-Bench, CyberGym, ProgramBench, PostTrainBench and Harbor-Index.

Tencent’s 770B Hy4 tops one benchmark row in 46

3 September 2026
Answer card: Proton Lumo 2.0 is private by policy, not by locality. Saved history is locked so even Proton cannot read it, but the prompt is decrypted on a Proton EU server to answer it, then forgotten.

Proton Lumo 2.0 review: how private is it, really?

3 September 2026
Answer card: Apple released iOS 26.6 and iPadOS 26.6 on 27 July 2026 with a release note covering bug fixes, security updates and an optimized Spotlight index to prepare for iOS 27, the index the rebuilt Siri reads for personal context.

iOS 26.6 is out: the Spotlight index it quietly builds

27 July 2026
Answer card: JWTs are not encrypted, anyone can read them; the signature proves who issued the token, not who may read it.

Are JWTs encrypted? No, and the difference will bite you

0
Answer card: a random 8 character password falls in under 2 hours offline, while 16 random characters hold for 1.4 trillion years at the same speed.

How long does it take to crack a password in 2026?

0
Answer card: three DNS records decide if your mail lands or bounces; SPF lists allowed senders, DKIM signs messages, DMARC sets the failure policy.

SPF, DKIM and DMARC explained: the records your email needs

0
Answer card stating that the public download pages for the VMware Virtual Disk Development Kit on developer.broadcom.com began returning 404 errors on 25 August 2026 with no announcement or deprecation notice, that Broadcom support tells customers the kit is no longer available for use or download, and that release lines 7.0.3.1, 8.x and 9.x are all affected.

Broadcom pulled VDDK 8.0 and 9.0, and the 404 is the only notice

8 September 2026
Answer card stating that OpenAI published its research acceleration measurements on 6 September 2026, that as of mid August 2026 its research organisation logged 3.1 agent workdays of coding agent runtime for every workday of human labour normalised to a standard eight hour day, and that OpenAI states this should not be read as a 3.1 times productivity gain because it measures runtime rather than delivered output.

OpenAI’s 3.1 agent-workdays per human day is not a 3.1x gain

7 September 2026
Answer card stating that Mullvad announced on 3 September 2026 that it is shutting down its public encrypted domain name system servers on 2 November 2026 and sponsoring the Quad9 Foundation instead, with 194.242.2.2 and its five sibling addresses all going away, and virtual private network customers unaffected.

Mullvad’s DNS servers go dark on 2 November, and Quad9 blocks no ads

5 September 2026
  • About
  • Contact
  • Privacy
  • Legal

Copyright © 2026 Stephane Cardon.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About

Copyright © 2026 Stephane Cardon.