By default, cp
copies only the direct files in, and not subdirectories in the directory. The message cp: omitting directory 'directory'
warns you that the mentioned directory is not copied.
use sudo cp -R /var/www/html/ /opt/myweb/
By default, cp
copies only the direct files in, and not subdirectories in the directory. The message cp: omitting directory 'directory'
warns you that the mentioned directory is not copied.
use sudo cp -R /var/www/html/ /opt/myweb/
Comments
Post a Comment