Linux Shell Error: "omitting directory" File Copy Move Create Remove
RegisterLogin
Webune Forums » Linux Hosting » Linux Shell Error: "omitting directory" File Copy Move Create Remove
Linux Shell Error: "omitting directory" File Copy Move Create Remove
Post Description: Linux Shell Error: "omitting directory" File Copy Move Create Remove
Tags: Linux, Shell, Error:, "omitting, directory", File, Copy, Move, Create, Remove
This Post Was Posted On Feb 29, 2008 By braker #795
Post Description: Linux Shell Error: "omitting directory" File Copy Move Create Remove
Tags: Linux, Shell, Error:, "omitting, directory", File, Copy, Move, Create, Remove
This Post Was Posted On Feb 29, 2008 By braker #795
Linux Shell Error: "omitting directory" File Copy Move Create Remove by braker
Code:
cp /var/www/html/ /var/web/html/
Thi is the error I get
Code:
cp: omitting directory `/var/www/html/'
What I am doing wrong
I've also seen this error whenever i do:
Code:
mv /var/www/html/ /var/web/html/
Code:
rm /var/www/html/ /var/web/html/
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
rakshas
#1007 1
thank you very much!
Feb 15, 2008 Reply Report abuse
Jayson
#1006 2
heck yes!!! thank you very much. this is such a relife that ic an do this
Dec 01, 2007 Reply Report abuse
Alexa
#1005 3
this is great. it worked like a charm.
Nov 29, 2007 Reply Report abuse
Chandra
#1004 4
this is very helpful information me too.
Oct 17, 2007 Reply Report abuse
Sunil Kumar
#1003 5
helped me too
thanks!!
--
goodtoknowit.blogspot
thanks!!
--
goodtoknowit.blogspot
Oct 15, 2007 Reply Report abuse
Mohamed Thalib
#1002 6
i helped mee tooo thanks a lot..
Sep 12, 2007 Reply Report abuse
jianchao
#1001 7
good answer
Jun 24, 2007 Reply Report abuse
A.J.
#1000 8
Thank you very much for this,
it took me ages to find this exacly command!
it took me ages to find this exacly command!
Apr 06, 2007 Reply Report abuse
Fidelis
#999 9
Thank you so much that was a q uick tip that saved me time.
Apr 03, 2007 Reply Report abuse
braker
#998 10
To fix this error, you need to give it the -r option (argument).
In order for your command to work, it should look like this:
Code:
To DELETE the whole and complete directory without a prompt, do this command: (be careful, there's no going back once you delete it)
Code:
* directory_name is whatever directory you want to delete.
In order for your command to work, it should look like this:
Code:
cp -r /var/www/html/ /var/web/html/
To DELETE the whole and complete directory without a prompt, do this command: (be careful, there's no going back once you delete it)
Code:
rm -fc directory_name
* directory_name is whatever directory you want to delete.
Aug 29, 2006 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Sun Dec 25, 2011 8:03 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3