I am using cp to copy a directory from one place to another. Both directories are in the same directory. I essentially want to copy my site from a staging server to a production server. When I use this:
cp -R /home/cccadmin/staging /home/cccadmin/production
The server copies everything in the staging directory to the production directory alright, but it copies it into a NEW directory within production.
So the result is this:
/home/cccadmin/production/staging/all-my-stuff-here
What I want is:
/home/cccadmin/production/all-my-stuff-here
What have I done wrong?