URL:
<http://savannah.gnu.org/bugs/?35141>
Summary: [feature_request] -prune0 action, or a -0 option
Project: findutils
Submitted by: gavinbeatty
Submitted on: Wed 21 Dec 2011 09:09:13 GMT
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.27
Fixed Release: None
_______________________________________________________
Details:
All actions whose main use is to give useful output (to send to xargs, etc.)
should have a NUL-separated alternate. -prune does not have this.
find . -name 'bin*' -type d -prune | xargs -r rm -r --
But, what about unusual directory names for 'bin*' matches?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35141>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/