943,692 Members | Top Members by Rank

Ad:
Sep 1st, 2009
0

Copying a folder from C: to Ubuntu ?

Expand Post »
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
Similar Threads
Reputation Points: 38
Solved Threads: 0
Master Poster
veledrom is offline Offline
724 posts
since Apr 2008
Sep 1st, 2009
0

Re: Copying a folder from C: to Ubuntu ?

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.
Reputation Points: 32
Solved Threads: 13
Junior Poster in Training
ryuslash is offline Offline
57 posts
since Jul 2009
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

I wanted to know what was wrong with the syntax.
Reputation Points: 38
Solved Threads: 0
Master Poster
veledrom is offline Offline
724 posts
since Apr 2008
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

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
Reputation Points: 32
Solved Threads: 13
Junior Poster in Training
ryuslash is offline Offline
57 posts
since Jul 2009
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

'31 GB Media' is exact name for my C: which is listed in Places.

sudo cp -r /31\ GB\ Media/Test/FolderWithFiles/ /var/www/
Reputation Points: 38
Solved Threads: 0
Master Poster
veledrom is offline Offline
724 posts
since Apr 2008
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

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'.
Reputation Points: 32
Solved Threads: 13
Junior Poster in Training
ryuslash is offline Offline
57 posts
since Jul 2009
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

check your umask for /var/www/
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Mocabilly is offline Offline
10 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

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".
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Mocabilly is offline Offline
10 posts
since Jun 2009
Sep 3rd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

Yes ryuslash. It is in /media/ directory as disk.
Thanks
Reputation Points: 38
Solved Threads: 0
Master Poster
veledrom is offline Offline
724 posts
since Apr 2008
Sep 3rd, 2009
0

Re: Copying a folder from C: to Ubuntu ?

No problem, man, glad I could help
Reputation Points: 32
Solved Threads: 13
Junior Poster in Training
ryuslash is offline Offline
57 posts
since Jul 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Getting Started and Choosing a Distro Forum Timeline: Is there ne distro with LAMP + JDK and high graphics
Next Thread in Getting Started and Choosing a Distro Forum Timeline: linux server for networking





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC