Knowledge Articles

cp: omitting directory centos

Error:

When i try to copy the directory it is giving the following error.

cp omitting directory centos

Solutions;

Log in to server.
Instead of using cp command use the following command

cp -r dirctoryname destination

Ex:cp -r domainname.com /var/www/.