Re: Problem with find -prune...

2008-04-03 Thread Mike Meyer
On Thu, 3 Apr 2008 17:59:20 +0200 (CEST) Oliver Fromme <[EMAIL PROTECTED]> wrote: > Mike Meyer <> wrote: > > find -prune seems to not quite do what it says. At least, when delete > > is used. Here's an example tree (on 7.0-RELEASE, amd64 build): > It behaves exactly as documented. I'll try to

Re: Problem with find -prune...

2008-04-03 Thread Oliver Fromme
Mike Meyer <> wrote: > find -prune seems to not quite do what it says. At least, when delete > is used. Here's an example tree (on 7.0-RELEASE, amd64 build): It behaves exactly as documented. I'll try to explain. > bhuda% find /tmp/x -prune > /tmp/x > > Hmm, it prints the root of the tree

Problem with find -prune...

2008-03-23 Thread Mike Meyer
find -prune seems to not quite do what it says. At least, when delete is used. Here's an example tree (on 7.0-RELEASE, amd64 build): bhuda# ls -Rl /tmp/x total 2 drwx-- 2 root wheel 512 Mar 24 01:01 y /tmp/x/y: total 2 -rw-r--r-- 1 root wheel Mar 24 01:01 motd /tmp/x contains a su