2010/5/26 Dmitry V. Levin :
> Hi,
>
> On Wed, May 26, 2010 at 01:42:53PM +0400, Юрий Пухальский wrote:
>>
>> I'm trying to remove the directories with find -exec and i've
>> encountered that for some reason the behaviour is strange. I've tested
>> with 4.1.20, 4.2.27 and 4.4.2.
>> I'm doing the fol
On 05/26/2010 09:53 AM, Юрий Пухальский wrote:
> So goes the standard. It's not clear (for me) what means "all entries
> in a directory". In this case it depends on whether we consider it
> before or after -exec.
>
>>
>> You will not get the error if you tell find to do a depth-first search:
>>
>>
2010/5/26 Eric Blake :
> On 05/26/2010 03:42 AM, Юрий Пухальский wrote:
>> Good day!
>>
>> I'm trying to remove the directories with find -exec and i've
>> encountered that for some reason the behaviour is strange. I've tested
>> with 4.1.20, 4.2.27 and 4.4.2.
>> I'm doing the following:
>>
>> devf
Hi,
On Wed, May 26, 2010 at 01:42:53PM +0400, Юрий Пухальский wrote:
>
> I'm trying to remove the directories with find -exec and i've
> encountered that for some reason the behaviour is strange. I've tested
> with 4.1.20, 4.2.27 and 4.4.2.
> I'm doing the following:
>
> devfe:~>mkdir -p findtes
On 05/26/2010 03:42 AM, Юрий Пухальский wrote:
> Good day!
>
> I'm trying to remove the directories with find -exec and i've
> encountered that for some reason the behaviour is strange. I've tested
> with 4.1.20, 4.2.27 and 4.4.2.
> I'm doing the following:
>
> devfe:~>mkdir -p findtest/a/b
> dev
Good day!
I'm trying to remove the directories with find -exec and i've
encountered that for some reason the behaviour is strange. I've tested
with 4.1.20, 4.2.27 and 4.4.2.
I'm doing the following:
devfe:~>mkdir -p findtest/a/b
devfe:~>cd findtest/
devfe:~/findtest>find . -name a -exec rm -rf {}