[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Path confusion
From: |
Jim Meyering |
Subject: |
Re: Path confusion |
Date: |
Fri, 01 Apr 2005 23:31:44 +0200 |
Eric Blake <address@hidden> wrote:
> How about it - does it make sense to add an --xdev option to all of the
> recursive descent tools (chown, chmod, ls, ...) to force the recursion to
> stop at mount points, or is find/xargs the only supported idiom for this?
It's seductive, but I don't think we can justify it.
You've probably noticed that du has the --one-file-system (-x) option.
That's justifiable because du couldn't do parts of its job if invoked
through e.g., find+xargs.
On the other hand, programs like chown, chmod, chgrp work just fine
when invoked through find+xargs.