Re: bug-findutils Digest, Vol 173, Issue 2

2017-08-11 Thread Aman ulla
Thanks for your reply. but,still its showing below error.. Kindly help us to resolve.. $find /user/home/ -mindepth 1 -type f -not -name '.*' -delete && find /user/home/ -type d -not \ (-name '.*' -or -name 'Desktop' -or -name 'thinclient_drives' \) -delete find: paths must precede expression:

Re: Fwd: help us to resolve this command

2017-08-11 Thread Kamil Dudka
On Friday, August 11, 2017 16:17:30 Aman ulla wrote: > how can i run this command in our centos 7 server to get results..? It depends on which results you want to get. My suggestion is not to run commands as root unless you really understand what they do ;-) > # find /root/home/ -mindepth 1

Fwd: help us to resolve this command

2017-08-11 Thread Aman ulla
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