Re: bash-Alias und stderr-Umleitung

Andreas Stieger <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <trinity-87777428-bf66-40bd-873f-9425b161adf3-1656589388942@3c-app-gmx-bap09>
> $ alias rmTeX='rm -i *.aux *.log'
[...]
> Das funktioniert auch, ABER jetzt wird auch die von "rm -i" erzeugte Abfrage
[..]
> ebenfalls unterdrückt.

Trenne das finden und die Nachfrage...

find -maxdepth 1 -type f -and \( -name "*.aux" -o -name "*.log" \) -exec rm -i {} \;

Andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.