in reply to stat function used with linux find gives me no data
More Perl-ish to use https://perldoc.perl.org/functions/readdir ?
I don't see any need for reinventing File::Find here on such a low level.