[Omaha.pm] Help with File::Find

Jay Hannah jay at jays.net
Thu Nov 6 11:31:38 PST 2008


> My pain is that I want to get the newest file, and the only way I could
> think of is to add all the files that I want onto a list and compare them.
>   

Does this help?

$ find ./ -name "pat*" | xargs ls -at | head -1

j



More information about the Omaha-pm mailing list