Re: cp command

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

 



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.

HTH,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 
01:34:07 up 2 days, 15:13, 3 users, load average: 0.33, 0.16, 0.06 



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

  Powered by Linux