List Info

Thread: find -prune not pruning soon enough?




find -prune not pruning soon enough?
country flaguser name
United States
2007-02-24 13:03:51
Update of bug #18787 (project findutils):

                  Status:                    None =>
Works For Me           
             Assigned to:                    None => jay 
                  

    _______________________________________________________

Follow-up Comment #1:

I can't reproduce this:-

$ for exe in ./find-4.3.0 ./find-4.3.2 ; do rm -fr blah;
mkdir -p blah/foo ;
$exe blah -name foo -print -exec rm -rf {} ; -prune ; $exe
--version ; rm
-rf blah ; done
blah/foo
GNU find version 4.3.0
Features enabled: D_TYPE O_NOFOLLOW(enabled)
LEAF_OPTIMISATION FTS
blah/foo
GNU find version 4.3.2
Features enabled: D_TYPE O_NOFOLLOW(enabled)
LEAF_OPTIMISATION FTS
CBO(level=0)


    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?18787>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-findutils mailing list
Bug-findutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils

find -prune not pruning soon enough?
country flaguser name
United States
2007-02-28 09:24:56
Follow-up Comment #2, bug #18787 (project findutils):

This is what I see when I run essentially the same command
string:

$ for exe in /bin/find ; do /bin/rm -fr blah; mkdir -p
blah/foo ; $exe blah
-name foo -print -exec /bin/rm -rf {} ; -prune ; $exe
--version ; /bin/rm
-rf blah ; done
blah/foo
/bin/find: could not change to directory blah/foo: No such
file or directory
GNU find version 4.3.2
Features enabled: O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS
CBO(level=0)

I don't know what the D_TYPE feature does. I didn't build
any of this from
source. I'm just using what I downloaded from cygwin.com.

Thanks.

    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?18787>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-findutils mailing list
Bug-findutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )