cp command

jdow jdow at earthlink.net
Tue Jul 18 05:52:06 UTC 2006


From: "Kanwar Ranbir Sandhu" <m3freak at rogers.com>

> On Tue, 2006-18-07 at 10:59 +0530, Kaushal Shriyan wrote:
>> if i will run following command
>> 
>> cp /home/deep /home/deepak
>> 
>> if deep folder have same 100 files which is under /home/deepak it will
>> ask permission for overwrite
>> 
>> i have to enter y 100 times. how can i forcefully over write the files?
> 
> You could use rsync instead.  But, if you're sticking with cp:
> 
> cp --reply=yes /home/deep /home/deepak
> 
> "man cp " is your friend.  Ask him/her/it.

But man cannot admit when he's lost. Maybe the man utility should be
renamed "woman" who can admit she's lost. Then it might see more use.

---->>>>>        Running as fast as I can that away!        {O,o}




More information about the fedora-list mailing list