currently there's a xxx dir already in /home/yyy
I'm trying to overwrite it
cp -fr ../xxx /home/yyy/
doesn't work still prompts me to overwrite the individual files. how do I fix it?
|
feedback
|
migrated from stackoverflow.com May 5 '10 at 11:16
This question came from our site for professional and enthusiast programmers.
|
or, to circumvent the problem with aliases in the first place, call the
| |||||
feedback
|
|
Indeed, see if it's aliased. You can do this by typing Overwriting won't be a problem anymore... | ||||
|
feedback
|
|
I'll assume you are using BASH or SH as your shell, in which case you can explicitly undo all aliases by prefixing your command line with
Which would ignore any aliases for | |||
|
feedback
|
|
Looking here
Make sure your cp is not aliased or something. (run | |||||
feedback
|
