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 ca
On 5/5/19 12:31 PM, Bernhard Voelker wrote:
> Indeed, find.1 is wrong. The attached fixes it.
Pushed at:
https://git.sv.gnu.org/cgit/findutils.git/commit/?id=6743fefc3a1f
Have a nice day,
Berny
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 cannot
>usefully
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 s1 > test/
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 s1 > test/s_files/s1.tx
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