Does anyone know how I would turn off the interactive mode when using cp?
I am trying to copy a directory recursively into another and for each file that is getting overwritten I have to answer 'y'.
The command I am using is:
cp -r /usr/share/drupal-update/* /usr/share/drupal
But I get asked to confirm each overwrite:
cp: overwrite `./CHANGELOG.txt'? y
cp: overwrite `./COPYRIGHT.txt'? y
cp: overwrite `./INSTALL.mysql.txt'? y
cp: overwrite `./INSTALL.pgsql.txt'? y
...
I am using ubuntu server version jaunty.
Thanks!