How to pass a path to the terminal?

Tanks for your response.

As mentionned abose, I used a third party plugin "Execute a script in terminal" that I found in Execute a Script in Terminal .

I'll try the Applescript route ...