On 26 April 2013 18:34, Stuart Henderson <[email protected]> wrote:
> On 2013/04/26 14:30, Eitan Adler wrote:
>> The attached patch adds an "x" option to rm(1) to avoid cross
>> filesystem boundaries.
>
> Isn't it better to just use find(1)'s -x option for this? It would be silly
> to add an option like this to all the places where it might be useful (besides
> rm this type of operation is definitely useful for chmod and chown, and I'm
> sure there are others..)

The entirety of rm's functionality can be replicated with find(1).

We had a similar conversion on -hackers:
http://freebsd.1045724.n5.nabble.com/Some-improvements-to-rm-1-td5806672.html#none



-- 
Eitan Adler

Reply via email to