Several Russian pages claim that Austrian general Franz Riml von Altrosenburg said the following:
Galician Russians can be divided in two groups: a) Russophiles and b) Ukrainophiles.
If it is at all possible, the only way to correct Russians is by applying means of unprotected terror. In my opinion, all Russophiles are radicals and must be exterminated without mercy.
Original Russian text:
«Галицийские русские разделяются на две группы: а) русофилов и б) украинофилов. Если вообще можно русских исправить, то это возможно единственно при применении средств беззащитного террора. Мое мнение, что все русофилы являются радикалами и их следует беспощадно уничтожать».
This quote is mentioned quite widely in Russian search engine Yandex (5 pages of search results if you enter that quote).
According to Wikipedia (German) Franz Riml was indeed chief of staff in Lemberg and had the rank of a colonel.
Did Franz Riml actually said that Russophies must be exterminated?
If yes, please provide source information.
Update 1: Found some references to documents containing Riml's statement in Lemberg, Lwow, and Lviv 1914-1947: Violence and Ethnicity in a Contested City by Christopher Mick (see yellow highlights in the image below):