Re: Why has "find ... -exec rm -i '{}' ';'" stopped working?
Andrew Schulman wrote:
>> Why did this behaviour change, and how can I fix my script?
>
> An alternative is
>
> find ... -print0 | xargs -0r rm -i
I get the same problem with that!
$ find . -name '*~' -print0 |xargs -0r rm -i
rm: remove regular file `./.emacs.d/auto-save-list/.saves-20203-vilnius~'?
rm: remove regular file `./.emacs.d/auto-save-list/.saves-1888-vilnius~'?
rm: remove regular file
`./.emacs.d/auto-save-list/.saves-1049-vilnius.co.umist.ac.uk~'? rm:
remove ...
It prints out the questions, doesn't wait for responses from the keyboard,
and does nothing.
Have I screwed something up? (This started happening on my home and office
computers at about the same time.)
Reply to: