Is this correct ?

Reply

Join Date: Jul 2008
Posts: 21
Reputation: army88m2 is an unknown quantity at this point 
Solved Threads: 0
army88m2 army88m2 is offline Offline
Newbie Poster

Is this correct ?

 
0
  #1
Aug 5th, 2008
I was wondering if this code was correct or not. I am trying to copy all the files and subdirectories in one directory to a newly created directory.


cp -R dir/*newdir/*


any suggestions?
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 917
Reputation: linux is an unknown quantity at this point 
Solved Threads: 27
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: Is this correct ?

 
0
  #2
Aug 9th, 2008
cp -R directoryname newdirectoryname
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 10
Reputation: sparty is an unknown quantity at this point 
Solved Threads: 0
sparty sparty is offline Offline
Newbie Poster

Re: Is this correct ?

 
0
  #3
Aug 14th, 2008
Originally Posted by army88m2 View Post
I was wondering if this code was correct or not. I am trying to copy all the files and subdirectories in one directory to a newly created directory.


cp -R dir/*newdir/*


any suggestions?
cp -r dir/* newdir/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC