Hello,
Thank you for all your suggestions.
I have finally managed to do what I wanted.
There was several reasons:
1) the different -name options of find have to be enclosed in protected
bracket \( ... \)
3) the need to use the eval function
2) in a script, one need to protect the differ
Thanks Dave for your answer.
I tried
${Macommande}
and
$(${MaCommande})
and directly
find . ${Extension} -exec rm {} \; -print
but none of them worked, I then tried just a
find . -name *._cn" -print that should have sent me back some results
but did not!
So thanks
Hello there,
I have been working on a very simple script for 3 hours not been able to
understand what's wrong with it.
So If someone can help ...
Yann.
The purpose is only to delete some files that exist in a lot of
directories/subdirectories
My script looks like:
TYPE_FIC_UPPER="._BC ._CH ._C
3 matches
Mail list logo