Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2006, 01:24 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
Copying files from Windows to Linux

I have two hard drives, the 40g is windows and the 200g is Linux.
I want to copy several avi's to the linux hard drive

the C drive is all ready mounted, so i su to root and go to
/cdrvie/Documents and Settings/User/Desktop/MyAVI files

then i try
cp /cdrvie/Documents and Settings/User/Desktop/MyAVI files /home/user/
it copies but when i try viewing the file it doesn't work, idicating that the copy inst working

i try cp the entire folder but i get some error, something about omitting.

I am pretty new to Linux, some help would be appreciated.

Thanks in advance
Old 11-24-2006, 01:39 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912

And welcome to LQ!

Your problem is the "space" in the directory-name. Just quote it, and you'll
be fine.
cp "/cdrvie/Documents and Settings/User/Desktop/MyAVI files/*" /home/user/target-dir

Old 11-24-2006, 01:49 PM   #3
LQ Newbie
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Problem solved, thanks for the help

Wasn't the space, guess when you move it as root you can only play it as root..

Thanks again

Last edited by Kmann; 11-24-2006 at 01:57 PM.
Old 11-24-2006, 02:19 PM   #4
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
Not sure if you've already figured this out, but if you want to be able to play it as your regular user you can change permissions on the files. The command chmod is used to modify permissions, chown would also be useful to change it so your regular user is the owner. Type man chmod or man chown into a terminal to get more info about these.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copying files from linux to windows over the internet. dr_zayus69 Linux - Networking 7 05-02-2006 06:20 AM
copying files from linux to windows Nigel Robinson Linux - Newbie 11 07-27-2005 02:41 PM
copying files from linux to windows partition as user aiims1777 Linux - General 15 11-15-2003 01:56 AM
copying files from linux to windows jonnypop00 Linux - Newbie 2 09-17-2003 04:32 PM
copying files from windows to linux susyq78 Linux - Newbie 6 08-10-2003 09:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration