CentOS: Copy directory to another directory

BaTmaN picture BaTmaN · Jan 27, 2013 · Viewed 194k times · Source

I'm working with a CentOS server. I have a folder named test located in /home/server/folder/test. I need to copy the directory test to /home/server/. How can I do it?

Answer

James McLaughlin picture James McLaughlin · Jan 27, 2013
cp -r /home/server/folder/test /home/server/