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