Copying a folder from C: to Ubuntu ?

Thread Solved

Join Date: Apr 2008
Posts: 496
Reputation: veledrom is an unknown quantity at this point 
Solved Threads: 0
veledrom veledrom is offline Offline
Posting Pro in Training

Copying a folder from C: to Ubuntu ?

 
0
  #1
Sep 1st, 2009
Hi,

I have a place called "31 GB Media" which is C: drive in MyPlaces. I wanted to copy a folder from it to Ubuntu. I have typed this line in terminal but "No such file or directory" is returned.

sudo cp -r /31\ GB\ Media/Test/FolderWithFiles/ /var/www/

Where is the mistake?

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 54
Reputation: ryuslash is an unknown quantity at this point 
Solved Threads: 10
ryuslash's Avatar
ryuslash ryuslash is offline Offline
Junior Poster in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #2
Sep 1st, 2009
Look in your /media/ folder
after you mount your disk, usually there is a folder created there (often just called disk) and everything on your C: drive will be there.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 496
Reputation: veledrom is an unknown quantity at this point 
Solved Threads: 0
veledrom veledrom is offline Offline
Posting Pro in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #3
Sep 2nd, 2009
I wanted to know what was wrong with the syntax.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 54
Reputation: ryuslash is an unknown quantity at this point 
Solved Threads: 10
ryuslash's Avatar
ryuslash ryuslash is offline Offline
Junior Poster in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #4
Sep 2nd, 2009
nothing it seems, your problem doesn't seem to be syntax related... except the /31\ GB\ Media/Test/FolderWithFiles/ which unless this is just your example and not your actual usage or you have actually mounted it there, won't exist
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 496
Reputation: veledrom is an unknown quantity at this point 
Solved Threads: 0
veledrom veledrom is offline Offline
Posting Pro in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #5
Sep 2nd, 2009
'31 GB Media' is exact name for my C: which is listed in Places.

sudo cp -r /31\ GB\ Media/Test/FolderWithFiles/ /var/www/
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 54
Reputation: ryuslash is an unknown quantity at this point 
Solved Threads: 10
ryuslash's Avatar
ryuslash ryuslash is offline Offline
Junior Poster in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #6
Sep 2nd, 2009
Yes but places always gives nice names to your disks. If you open it from places and look at your location (text-based, not button), then you will see where it is really located. Most likely it is located in /media/ under the name 'disk'.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 9
Reputation: Mocabilly is an unknown quantity at this point 
Solved Threads: 1
Mocabilly Mocabilly is offline Offline
Newbie Poster

Re: Copying a folder from C: to Ubuntu ?

 
0
  #7
Sep 2nd, 2009
check your umask for /var/www/
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 9
Reputation: Mocabilly is an unknown quantity at this point 
Solved Threads: 1
Mocabilly Mocabilly is offline Offline
Newbie Poster

Re: Copying a folder from C: to Ubuntu ?

 
0
  #8
Sep 2nd, 2009
OOps didn't read the replys above..

so, this isn't going to be it, but does matter in some cases where umask is not set to "0000".
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 496
Reputation: veledrom is an unknown quantity at this point 
Solved Threads: 0
veledrom veledrom is offline Offline
Posting Pro in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #9
Sep 3rd, 2009
Yes ryuslash. It is in /media/ directory as disk.
Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 54
Reputation: ryuslash is an unknown quantity at this point 
Solved Threads: 10
ryuslash's Avatar
ryuslash ryuslash is offline Offline
Junior Poster in Training

Re: Copying a folder from C: to Ubuntu ?

 
0
  #10
Sep 3rd, 2009
No problem, man, glad I could help
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Getting Started and Choosing a Distro Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC