Eric Lilja wrote:
> Why doesn't this work? I want to remove .bashrc~ (ls has been aliased to
> include -AF):
> [EMAIL PROTECTED] ~
> $ ls
> .bash_history .bashrc* .emacs*.emacs.elc* .ssh/
> .bash_profile* .bashrc~* .emacs.d/ .inputrc*coding/
>
> [EMAIL PROTECTED] ~
> $ rm *~
> rm:
This isn't a cygwin question, it's a bash specific question and should
have been addressed elsewhere. That being said, * doesn't match files
that start with a . by default. You can change this with 'setopt
dotglob', or you can use 'rm .*~' (Note the dot before the star)
~Matt
On 11/3/06, Eric
Why doesn't this work? I want to remove .bashrc~ (ls has been aliased to
include -AF):
[EMAIL PROTECTED] ~
$ ls
.bash_history .bashrc* .emacs*.emacs.elc* .ssh/
.bash_profile* .bashrc~* .emacs.d/ .inputrc*coding/
[EMAIL PROTECTED] ~
$ rm *~
rm: cannot remove `*~': No such file or
3 matches
Mail list logo