[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange issue with `find' command



Dom <toyer@rpdom.net> writes:

> On 02/08/14 09:20, Tixy wrote:
>> 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'
>>
>
> I did indeed. Well spotted :)


Thank you.

Rodolfo


Reply to: