On Sat, 2014-08-02 at 08:56 +0100, Dom wrote:
[...]
>
> find . -name *.pdf
>
> will expand out to
>
> find . -name test1.pdf test2.pdf
>
> and there you get your error. But
>
> find . -name "test1.pdf"
>
> will remain unchanged as the shell won't try and expand the quoted values.
I guess you meant that last example to be:
find . -name '*.pdf'
--
Tixy