LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-22-2007, 02:33 PM   #1
BeerSlinger
Member
 
Registered: Mar 2006
Location: Michigan, US
Distribution: Not coverted yet
Posts: 70

Rep: Reputation: 15
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....
 
Old 10-22-2007, 02:58 PM   #2
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
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
 
Old 10-22-2007, 03:23 PM   #3
BeerSlinger
Member
 
Registered: Mar 2006
Location: Michigan, US
Distribution: Not coverted yet
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by helptonewbie View Post
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync: error while copying Fusi Linux - Software 5 06-09-2013 11:00 PM
DVD copying of files - I/O error feedmehoney Linux - Desktop 1 07-10-2007 07:10 AM
ssh:-error copying using scp matrix13 Linux - Software 1 07-09-2007 11:01 AM
Error installing Alsa (Error copying pcm_lib.c) Doleo Linux - Software 1 02-25-2004 10:53 AM
I/O error when copying (some) NTFS files cherup Linux - Newbie 1 05-21-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration