
27 Jan
2005
27 Jan
'05
9:32 p.m.
From: "Victor A. Wagner Jr." <vawjr@rudbek.com>
At Tuesday 2005-01-25 14:28, you wrote:
What is the rationale for having copy_file fail if the target file exists?
This is not how any cp/copy in any shell I know of works, actually quite surprising.
in windows (and every OS I've been on the writing team) the shell will at least _ask_ for permission to overwrite.
*nix cp has a -i option to query you, but the default behavior is to overwrite quietly. The shells do nothing to change that. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;