Re: Option --force for cp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Luc,


On Tue, 10 Jun 2008 17:05:47 +0200 Luc MAIGNAN <luc.maignan@xxxxxxxxxxxx> wrote:

> Hello wwp,
> 
> you're right.
> My cp is an alias to 'cp -i' !!!! I'm despite to have a so beginner problem.....

FYI that's common for privileged users (root).


Regards,

> wwp a écrit :
> > Hello James,
> >
> >
> > On Tue, 10 Jun 2008 10:43:48 -0400 James Kosin <jkosin@xxxxxxxxxxxxxxxxxx> wrote:
> >
> >   >> 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
> >>     >
> > I couldn't find any reference to 'reply' in both `cp --help` and `man
> > cp` here (coreutils-6.9-17.fc8). What version is yours?
> >
> > Moreover:
> >
> >  $ cp --reply=yes
> >  cp: the --reply option is deprecated; use -i or -f instead
> >  cp: missing file operand
> >  Try `cp --help' for more information.
> >
> > That last advice is still pertinent, James ;-). Now, what cp does Luc have?
> >
> >
> > Regards,

-- 
wwp

Attachment: signature.asc
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux