I have a couple of uninstall
files. I want to find all of them and execute them one by one. I know about find and exec combination so I tried
find . -name uninstall -exec {}\;
But this gives me such error :
find: missing argument to `-exec'
Since it is a regular file, I can't give it argument. I just run it like this in terminal
./uninstall
How can I find and execute these files?
-exec ./{} \;
?