On Tue, 18 Jul 2006 10:59:48 +0530, Kaushal Shriyan wrote > Hi ALL > > 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? > > Kaushal > You can get help by typing cp --help In there I found you can add the --rely=yes/no/query to the end of the command So you should be able to do the following.. cp /home/deep/*.* /home/deepak --reply=yes Hope this helps Wolf -- Open WebMail Project (http://openwebmail.org)