bug-findutils
[Top][All Lists]
Advanced

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

Re: help us to resolve this command


From: Bernhard Voelker
Subject: Re: help us to resolve this command
Date: Fri, 18 Aug 2017 13:00:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 08/18/2017 09:05 AM, Aman ulla wrote:
> Still waiting for your support. 

Kamil already answered on August 11th:
http://lists.gnu.org/archive/html/bug-findutils/2017-08/msg00004.html

> # find /root/home/ -mindepth 1 -type f -not -name '.*' -delete && find
> /root/home/ -type d -not \(-name '.*' -or -name 'Desktop' -or -name
> 'thinclient_drives' \) -deleteā€Ž

find expects the grouping \( to be separated from the following -name option;
thus just insert a blank (' '):

- ... -not \(-name '.*' -or ...
+ ... -not \( -name '.*' -or ...

Have a nice day,
Berny




reply via email to

[Prev in Thread] Current Thread [Next in Thread]