Re: bash-Alias und stderr-Umleitung

Jakob Mendel <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <[email protected]>
Perfekt.  Danke!

Am 30.06.22 um 13:43 schrieb Andreas Stieger:
>> $ 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.