Linux command rg: recursively searches the current directory for a regrex pattern file : check file type