cp command

Tim ignored_mailbox at yahoo.com.au
Tue Jul 18 05:39:48 UTC 2006


On Tue, 2006-07-18 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?

Read "man cp" and note the "interactive", "force", "recursive", "update"
options, at least.  Somewhere in there you'll find the options you need
(don't blindly use all the ones I just mentioned).

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the users mailing list