bug-coreutils
[Top][All Lists]
Advanced

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

[rm] feature request: option --interactive-multiple


From: Roland Winkler
Subject: [rm] feature request: option --interactive-multiple
Date: Fri, 26 Sep 2003 21:10:10 +0200

For my daily work I use the alias

  alias rm='rm --interactive'

On the one hand this fine when I want to keep track of what I am
doing when typing something like `rm foo*' in order to remove
`foo.bar' and `foo.baz'. Here I am quite glad that I am told which
files are matched and removed when typing `rm foo*'. On the other
hand, the confirmation is annoying if I am typing `rm foo' and
removing the file foo is all I want to do. In the latter example,
the confirmation doesn't tell me anything I did not know anyway.

Wouldn't it be neat if there was something like an option
--interactive-multiple that would turn rm into an interactive
command only when it is operating on more than one file so that
there is a larger probability that one of the files is erroneously
in the list of files I am removing.

Is this useful? Or is all this too excotic to justify such an
option?


Roland





reply via email to

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