The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun's 'Project Copy Linux' not a Linux copy - Register iBot UNIX and Linux RSS News 0 07-29-2007 05:31 AM
csh syntax charlie11k UNIX for Dummies Questions & Answers 0 06-01-2007 02:29 AM
vim and syntax max os kezzol OS X (Apple) 1 04-30-2007 02:22 PM
copy syntax part2 tomapam UNIX for Dummies Questions & Answers 3 07-01-2002 11:14 PM
sed syntax jo_aze UNIX for Dummies Questions & Answers 4 03-14-2002 09:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-01-2002
tomapam tomapam is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 17
copy syntax

Hi
How can i copy the whole content of a directory (containing FILES AND DIRECTORIES) in another...
thx
  #2 (permalink)  
Old 07-01-2002
janr janr is offline
Registered User
  
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
cp -R /soucre/source/* /target/target
  #3 (permalink)  
Old 07-09-2002
_hp_ _hp_ is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 15
cp --help

that should explain it
  #4 (permalink)  
Old 07-09-2002
peter.herlihy peter.herlihy is offline
Registered User
  
 

Join Date: Nov 2001
Location: New Zealand
Posts: 333
Don't use the asterisk.....

Just do

cp -R /home/source_dir/ /new/location/

If you put the asterisk in it won't copy the directory which is defined before the aster...it will just copy everything below that point (including it's subdirs).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0