LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2006, 01:28 AM   #1
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Rep: Reputation: 15
copying directories


I have a directory on my cd-rom. It is the SwareT directory. I want to update, and I know to do this that there is a half-decent thread that says how to do this. What is doesn't say is where the directory should be to run SwareT. Does anybody know where this goes? And if so, how do I get it there from my cd-rw. I have been trying to copy it to my home directory using 'cp', but I get an error message saying:

cp: omitting directory 'SwareT'
#===================================End of Error

Can someone help me out on this, please?

Thanks,
John
 
Old 03-11-2006, 01:58 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
cp /cd-rw/* /anothercreatedbeforedirectory/
 
Old 03-11-2006, 05:19 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by johnvillegas
cp: omitting directory 'SwareT'
Code:
cp -r SwareT <your destination>

Last edited by spooon; 03-11-2006 at 05:20 AM.
 
Old 03-11-2006, 07:19 AM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: DC
Distribution: RHEL/CentOS
Posts: 1,373
Blog Entries: 4

Rep: Reputation: 161Reputation: 161
Check the permissions on the dir, is it root or a regular user?

EDIT: Err...Forgot...If it is a permissions issue, you'll have to chown on the file/dir

Once this is done...then...

Code:
cp * /home/foo

Last edited by JockVSJock; 03-11-2006 at 07:58 AM.
 
Old 03-11-2006, 07:49 AM   #5
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
johnvillegas:
Did JockVSJock's suggestion fix your issue?

Last edited by WindowBreaker; 03-11-2006 at 03:08 PM.
 
  


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
Moving or copying a directory into multiple directories oadvantage Linux - Newbie 3 03-07-2006 04:47 AM
Copying Hidden Directories Guru3 Linux - General 1 12-05-2003 01:59 PM
SAMBA copying directories thineonly Linux - Networking 6 02-11-2003 05:22 PM
Copying directories NetScripter Linux - Newbie 3 05-25-2002 01:48 AM
copying directories jonfa Linux - General 2 11-08-2001 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 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