![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 02:31 AM |
| csh syntax | charlie11k | UNIX for Dummies Questions & Answers | 0 | 05-31-2007 11:29 PM |
| vim and syntax max os | kezzol | OS X (Apple) | 1 | 04-30-2007 11:22 AM |
| copy syntax part2 | tomapam | UNIX for Dummies Questions & Answers | 3 | 07-01-2002 08:14 PM |
| sed syntax | jo_aze | UNIX for Dummies Questions & Answers | 4 | 03-14-2002 06:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
copy syntax
Hi
How can i copy the whole content of a directory (containing FILES AND DIRECTORIES) in another... thx
__________________
"knowledge is power...arm myself..." |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
cp -R /soucre/source/* /target/target
|
|
#3
|
|||
|
|||
|
cp --help
that should explain it |
|
#4
|
|||
|
|||
|
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).
__________________
Pete |
|||
| Google The UNIX and Linux Forums |