Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-22-2007, 02:33 PM
|
#1
|
Member
Registered: Mar 2006
Location: Michigan, US
Distribution: Not coverted yet
Posts: 70
Rep:
|
Error Copying (cp)
What does this mean?
[User@localmain ~]$ cp new newfile
cp: omitting directory `new'
[User@localmain ~]$
I'm sure i'm doing something small wrong but every time I go to copy a folder in fedora I get that error but not when I do a file.......
Thats what I can't figure out....
|
|
|
10-22-2007, 02:58 PM
|
#2
|
Member
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518
Rep:
|
hello,
yes generally with a many large amount of commands when copying deleteing etc etc, it doesn't work exactly the same generally most commands stick to the same thing i've noticed my meaning is for a folder its generally a -r or -R when doing anything like mv, cp, scp, etc
so cp -R dir newdir
this enables to copy the directory and everything in it
try
'man cp'
it will say about recursing directories
hope this help
|
|
|
10-22-2007, 03:23 PM
|
#3
|
Member
Registered: Mar 2006
Location: Michigan, US
Distribution: Not coverted yet
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by helptonewbie
hello,
yes generally with a many large amount of commands when copying deleteing etc etc, it doesn't work exactly the same generally most commands stick to the same thing i've noticed my meaning is for a folder its generally a -r or -R when doing anything like mv, cp, scp, etc
so cp -R dir newdir
this enables to copy the directory and everything in it
try
'man cp'
it will say about recursing directories
hope this help
|
Yep, that works....I'm using Rute and he is so good at explaining everything......which surprised me a little.......
I have a heck of a time with man or --help because its too much information and written in a high-perbaly that I cant decipher unless I know how to at least use the command.....
I don't know if anyone else feels it that way...
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|