cp command does not overwrite existing files

Asked by ill

when running the cp command with the -R argument to copy one folder to another, the contents of the existing folder are not overwritten if they already exist but the source folder has been updated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabio Marconi (fabiomarconi) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Hi ,
try to use the -u switch and read the manual of cp command from more info .

man cp

Thanks

Can you help with this problem?

Provide an answer of your own, or ask ill for more information if necessary.

To post a message you must log in.