Option --force for cp
Bruno Wolff III
bruno at wolff.to
Tue Jun 10 21:36:19 UTC 2008
On Tue, Jun 10, 2008 at 16:24:52 +0200,
Luc MAIGNAN <luc.maignan at winxpert.com> wrote:
> Hi,
>
> I definitively can't force cp to override existing files without asking
> confirmation.
>
> According to documentation , I try :
>
> cp -r --force src/file1 ./
>
> but always a confirmation is asked...
>
>
> What's wrong ?
cp is probably aliased to 'cp -i'. Try using:
'cp' -rf src/file1 ./
More information about the fedora-list
mailing list