bug-findutils
[Top][All Lists]
Advanced

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

Fwd: help us to resolve this command


From: Aman ulla
Subject: Fwd: help us to resolve this command
Date: Fri, 11 Aug 2017 16:17:30 +0530

how can i run this command in our centos 7 server to get results..?

# 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

this command gives this error.

find: paths must precede expression: (-name
Usage: find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]

kindly help us to resolve this..


Thanks in Advance.





--
                             " Don't pollute it,good planets are hard to find "

                             *-*-*   Unity is Strength   *-*-*

Regards,
S.Amanulla



reply via email to

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