>_ IzzyLab

Topic breakdown

The -empty predicate in find selects zero-size objects — both empty files and empty directories. To keep directories out of the selection, combine it with the -type f type restriction. Conditions in find are joined by logical AND, so only empty regular files remain; the result is then ordered by sorting before writing.

What's checked

  1. only empty files found

What it looks like