bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Canceling interactive mode - cp


From: August Zajonc
Subject: Canceling interactive mode - cp
Date: Sun, 23 Dec 2007 11:55:59 -0500
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]