Hi,
I need to use a function in the find command to do some process on the file. I'm trying:
funcname(){ ... }
...
find ./ -name "*" -exec funcname {} \;
But somehow this is not working. I don't want to have a separate script for whatever processing the function does. I want to have both the function and the find command in the same script.
Is there anyway I can put both of them in the same script.
Thanks.
Victor