There appear be a number of ways to do this including loops in shell script, find and xargs. Which of these is best, and which is most portable?
Maybe it's a bit strange - and maybe there are other tools to do this but, well.. I am using the following classic bash command to find all files which contain some string: find . -type f | xargs ...
How can I use find to find all files that have a .xls or .csv extension? I have seen a -regex option but I don't know how to use it.