find Command Builder

Command

Deleting is immediate and has no undo. Run the same command with -print first to see exactly what would go.

About this tool

Build a find command from plain choices instead of remembering the test order. Filter by name, type, size, age, permissions and depth, exclude noisy directories, and then decide what happens to each match: print it, print it with a null separator, delete it, or run a command on it.

Questions

Why does -delete deserve caution?
It removes matches immediately and asks nothing. Run the same command with the print action first so you can see the exact list, then switch to delete.
What is the null-separated option for?
-print0 ends each path with a null byte instead of a newline, so a name that contains a space or a newline is still one item. Pair it with xargs -0.
Does the order of the options matter?
Yes. -maxdepth is a global option and has to come before the tests, and -delete has to come last. The builder already places them in a working order.