On 08/18/2017 04:07 PM, Aman ulla wrote: > Kindly explain us with modified full working syntax.
I don't know if the resulting command is what you intend to achieve, I just can tell you how to avoid the syntax error: just put a space character _before_ the "-name" option: $ 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ā Have a nice day, Berny