Re: [boost] boost.filesystem - rationale for copy_file

At Thursday 2005-01-27 14:32, you wrote:
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.
I wasn't on the team that wrote any flavor of *nix
-- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer; _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (1)
-
Victor A. Wagner Jr.