Option --force for cp
James Kosin
jkosin at beta.intcomgrp.com
Tue Jun 10 14:43:48 UTC 2008
Luc MAIGNAN 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 -r --reply=yes src/file1 ./'
This will work... Check out the man pages for cp or even cp --help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20080610/866c1de2/attachment-0001.bin
More information about the users
mailing list