I write a bash script:

```
   #!/bin/bash
    function test_echo
    {
        echo $0
        echo $1
        echo $2
        echo $#
    }
    test_echo

```

I try:

```
find test.sh -type f -exec test_echo '{}' \;

```

or

```
find . -type f -exec `./test.sh {}` \;

```

but it doesn't work.

I need a way to scan file from a folder (I use find) and for each file call a function ( foo\_fonction() ) with in parameter the full path of the file.

```
 find . -type f -exec foo_fonction '{}' \; 

```

And how to have the parameter (full path) in the foo\_fonction() ?