Re: Why has "find ... -exec rm -i '{}' ';'" stopped working?
Dave Ewart wrote:
>> Recently it stopped working because "rm -i" in "find..." no longer
>> appears
>> connected to the console for input. Typing "find -name '*~' -exec rm -i
>> '{}' ';'" directly prints a list of rm-questions, doesn't get an answer,
>> and so does nothing.
>>
>> Why did this behaviour change, and how can I fix my script?
>
> What was the previous behaviour - were you prompted for each file that
> exists matching the pattern and had to confirm it manually?
Yes: that's exactly what it used to do.
Reply to: