Have you have a command ask a question such as cp or move?
You can do this:
echo y|cp * /tmp/othercopy
However it may still fail if your bashrc aliases have the "-i" flag see this post here.
linux, copyhave, cp, echo, tmp, othercopy, bashrc, aliases, quot,