Explain find code
Paste find commands and Vibe explains what each test picks out, which folders are skipped and what happens to every file that matches.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe20 lines selected
Press Explain it for the sample, or paste your own code first.
What this find sample shows
- start folder and tests
find .walks the current folder and everything below it, and each test after it narrows the list.-name "*.log"matched by file name and found./debug.logand./logs/app.logon a test project.-type dmeans folders and-type fmeans files.- -prune
-prunestops find from going into a folder it matched. The second command printed./node_modulesand./web/node_modulesand nothing from inside them. In the fourth,-path ./.git -prune -o ...skips.gitand checks everything else.- -size and -mtime
-size +1Mmeans bigger than 1 MB and found the 2 MBlogs/big.bin.-mtime -7means changed less than 7 days ago: it printedlogs/big.binandsrc/app.js, and skipped files last changed 20 and 30 days ago.- -exec and -delete
-exec wc -l {} +runs a command on the matches, with{}standing for the file names; the+hands them over in one go, sowcprinted one line per file and a3 total. The node_modules files were left out by-not -path.-deleteremoves what matched: it removed both empty folders undertmp, and thentmptoo, once it was empty.
Good to know
- Run with GNU find 4.11 on a test project with code, logs, node_modules folders, a .git folder and empty folders.
- Quote patterns like
"*.log". Unquoted, the shell filled in the .log files in the current folder first, and find stopped withfind: paths must precede expression, naming one of those files, and asked about a possible unquoted pattern after-name. - Run a find without
-deletefirst and read the list. Nothing asks before-deleteremoves a file.
Watch out: -o means or, and an action such as -print only belongs to the test right before it. find . -name "*.log" -o -name "*.bin" -print printed only ./logs/big.bin. With parentheses, find . \( -name "*.log" -o -name "*.bin" \) -print printed all four matches.
Explain find code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open