Dear All If I run a "find option(s) -exec cmd {} ;" it executes a single command successfully. But if I want to run a set of command (i.e custom shell function) defined in script it doen't work. Please refer my query with psedo shell script defined below ------------------ #!/bin/bash
MyFunction() { cmd-1 cmd-2 cmd-3 | | | cmd-n }
find / -type f -exec MyFunction {} ; -->MyFunction is the name of function defined above ------------------ I can have an option to separate commands with semicolon, but consider the list of commands is very long and it can not be accumulated in a single line of the find comand. Any answer is desparately awaited. bye...
Regards, Bilal Ahmed Mazhar