The -type f option restricts the search to regular files, excluding directories and other file types. This ensures that the output only includes files that can consume disk space.