bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -e does not take effects in subshell


From: Greg Wooledge
Subject: Re: -e does not take effects in subshell
Date: Tue, 18 Aug 2015 17:00:43 -0400
User-agent: Mutt/1.4.2.3i

On Tue, Aug 18, 2015 at 01:49:53PM -0700, Linda Walsh wrote:
> Ex: rmx -fr (alias to rm --one-file-system -fr, since rm lacks the
> -x switch like 'find, cp, mv, et al.) no longer works to clean
> out a directory && stay on *one* file system.

When did POSIX or any historical Unix rm have a --one-file-system option?
You say "no longer works" as if it had EVER worked in the past.

And yes, the standard way to do this (the only way with traditional
tools) would use find ... -xdev ... -exec rm {} +



reply via email to

[Prev in Thread] Current Thread [Next in Thread]