Re: The returned value of -prune and its documentation

2019-05-10 Thread Cristian Zoicas
Bernhard Voelker wrote: On 4/30/19 1:09 PM, Cristian Zoicas wrote: The manual page of find says the following for the -prune action: -prune True; if the file is a directory, do not descend into it. If -depth is given, false; no effect. Because -delete implies -depth, you

Re: The returned value of -prune and its documentation

2019-05-02 Thread Cristian Zoicas
Dale R. Worley wrote: Cristian Zoicas writes: The following directory structure and the following statement show that -prune does not return false when -depth is given. mkdir -p test/s_files/ echo a-top > test/a-top.txt echo s-top > test/s-top.txt echo a > test/s_files/a.txt echo

The returned value of -prune and its documentation

2019-04-30 Thread Cristian Zoicas
Hello all The manual page of find says the following for the -prune action: -prune True; if the file is a directory, do not descend into it. If -depth is given, false; no effect. Because -delete implies -depth, you cannot usefully use -prune and -delete together. So I unders