find -exec not working in bash script but working in terminal
178
Why does my shell script choke on whitespace or other special characters?
59353
How to tell if a command executed by `exec` runs successfully or not?
104336
(Ubuntu/Linux)"find" command gives different results based on quotation marks
40516
Why bash does not spawn a subshell for simple commands?
33503
Why doesn't exec work in a function with a subfunction?
77529
How does exec work with locals?
120003
How does pipe work in bash commands?
8582
Why is find not accepting '-exec cp {} dir +'?
100254
What does 'exec {fd}</dev/watchdog' do in Bash
69760
Correct location for piping and redirecting output in find -exec?
61228
Is it possible to use `find -exec sh -c` safely?
21247
Why does `find` in Linux skip expected results when `-o` is used?
14304
Why does bash output data instead of executing, when a script is piped?
50484
How to use find command with wildcard when current directory contains a match?
85355
Why does BASH process substitution not work with some commands?
72212
Bash script prints "Command Not Found" on empty lines
100516
find's "-exec rm {} \;" vs "-delete"