Linux Error - Omitting Directory File Creating Copying Moving Removing
linux error - omitting directory file creating copying moving removing
linux, error, omitting, directory, file, creating, copying, moving, removing
Linux Error - Omitting Directory File Creating Copying Moving Removing
Post Description: linux error - omitting directory file creating copying moving removing
POST# 1285
Posted On: Thu Apr 24, 2008 5:08 pm
hostman
Topic: Linux Error - Omitting Directory File Creating Copying Moving Removing
I get this error:
Code/Command:
cp: omitting directory `/var/www/html/'



When I send this command:
Code/Command:
cp /var/www/html/ /var/web/html/



I've also seen this error whenever i do:

Code/Command:
mv /var/www/html/ /var/web/html/



Code/Command:
rm /var/www/html/ /var/web/html/



removing, remove, raname, delete, deleting, creating, create a file or directory

PLEASE HELP ME, I AM LOST, I NEED TO KNOW WHAT TO DO ASAP!
Share:
BBCODE:
HTML Code:


Thu Apr 24, 2008 5:09 pm
1
Web Hosting Support
Reply #1955
To overcome this error, you need to give it the -r option.

For your command to work, your command should look like this:

Code/Command:
cp -r /var/www/html/ /var/web/html/

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload
     
  1. Linux Error - Omitting Directory File Creating Copying Moving Removing