Re: Option --force for cp

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

 



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 ?

Someone assumes you're a moron, cp has been turned into an alias forcing you to verify everything. If you only want to be an adult once in a while, just type "/bin/cp opts and args" to get the real cp.

My systems call my local init script, which among other things:\
  alias|sed 's/alias //;s/=.*//'|while read cmd;do unalias $cmd; done

I admit I do define a few of my own, but they don't redefine standard commands, they are keystroke savers for the common ls option sets I like.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux