Displaying 3 results from an estimated 3 matches for "exlclud".
Did you mean:
exlclude
2016 Feb 03
6
delete directories with find and exclude other directories
...zqg5/metadata
./d20160131-16993-vazqg5/deployments
./d20160131-16993-vazqg5/releases
./logs
./d20160203-27735-1tqbjh6
./d20160125-1120-1yccr9p
./d20160131-16993-1yf9lnc
I'm just tailing the output so that you have an idea of what's going on
without taking up the whole page. :)
If I try to exlclude the logs directory with the prune command I get back
no results.
root at ops-manager:/tmp/tmp# find . -type d -prune -o -name 'logs' -print
root at ops-manager:/tmp#
What am I doing wrong?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2016 Feb 03
0
delete directories with find and exclude other directories
...ts
> ./d20160131-16993-vazqg5/releases
> ./logs
> ./d20160203-27735-1tqbjh6
> ./d20160125-1120-1yccr9p
> ./d20160131-16993-1yf9lnc
>
> I'm just tailing the output so that you have an idea of what's going on
> without taking up the whole page. :)
>
> If I try to exlclude the logs directory with the prune command I get back
> no results.
>
> root at ops-manager:/tmp/tmp# find . -type d -prune -o -name 'logs' -print
> root at ops-manager:/tmp#
>
> What am I doing wrong?
>
find . -type d ! -name logs -prune (and -print has been a default...
2016 Feb 03
0
delete directories with find and exclude other directories
.... -type d | grep -v logs
, but that will also exclude other names containing "logs" it is like:
Semilogs2
logs4me
Thanks.
Valeri
>
> I'm just tailing the output so that you have an idea of what's going on
> without taking up the whole page. :)
>
> If I try to exlclude the logs directory with the prune command I get back
> no results.
>
> root at ops-manager:/tmp/tmp# find . -type d -prune -o -name 'logs' -print
> root at ops-manager:/tmp#
>
> What am I doing wrong?
>
> Thanks,
> Tim
>
> --
> GPG me!!
>
> gpg --...