I'm trying to run a command to find all files starting with 'geo' and see when they were edited. I am trying to following but unfortunately am having no luck..
Is there a param for stat to display the filename or do I need a multi-line bash script...
This works:
find . -name 'geo*' -exec stat -c%y {} \;
This doesn't:
# find . -name 'geo*' -exec echo {}&&stat -c%y {} \;
find: missing argument to `-exec'