On Tue, September 19, 2006 07:15, Benjamin Franz wrote:<br />> On Tue,
19 Sep 2006, Michael W Cocke wrote:<br />> <br />>> I know this
must have been covered before, but I can't find it...<br />>><br
/>>> How can I get cp to overwrite existing destination files
without being<br />>> prompted for every file?  --force doesn't do
it, --remove-destination<br />>> doesn't do it (although from
reading the man page I would expect<br />>> either one to to work)
and --reply=yes complains that it's being<br />>> depreciated.<br
/>>><br />>> If the answer is "'you can't", can I
get a pointer to the source for<br />>> cp?<br />> <br />>
Although you didn't say so, you must be trying it as 'root'. When
running<br />> as root, RH aliases 'cp' to 'cp -i'. So type 'unalias
cp' to unalias it.<br />> <br />> You can get the full list of
aliased commands by typing 'alias'.<br />> <br />> --<br />>
Benjamin Franz<br /><br />When in doubt and far simpler is to preface the
command with \<br />i.e \cp file1 file2<br /><br />-- <br />Pete