copy command with out prompt
I have writen the script which copy the file from one folder to another folder
the command is
cp /home/backup_mon.tar.gz /home/backupdata/backup_mon.tar.gz
if backup_mon.tar.gz file already exist in destination folder then script prompt for overwritten. I want that when script run it did not prompt for copy overwritten , it simply replace the existing file with out prompting.
thanks
|