Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2005-01-27 16:32:28


From: "Victor A. Wagner Jr." <vawjr_at_[hidden]>
> 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_at_[hidden]
Software Engineer                     http://www.sig.com
Susquehanna International Group, LLP  using std::disclaimer;

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk