I think I’ve heard about find2perl before, but I never used it. Today I was trying to invent a wheel once again and somehow remembered about this useful tool. Here is a quote from the man 1 find2perl:

find2perl – translate find command lines to Perl code

find2perl [paths] [predicates] │ perl

find2perl is a little translator to convert find command lines to equivalent Perl code. The resulting code is typically faster
than running find itself.

This utlity usually comes together with perl.

Leave a Comment