I'm used to be able to do something like this

alias cp=cp -i

then when I need to overwrite a file on the destination of a copy, I usually do -bf

This makes a backup but avoids the prompt, perfect for bash scripts and similiar.

Recently I've noticed that I can't cancel -i. There seems to be NO command to reverse the -i.

What's the suggested workaround in these situations. This seems like it would be a pretty common approach, and given the somewhat more esoteric options, it's odd that one can't reverse or cancel the effect of -i.

All the best,

- August


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to