LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-24-2006, 01:24 PM   #1
Kmann
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
Code:
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Hi,

And welcome to LQ!

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

Cheers,
Tink
 
Old 11-24-2006, 01:49 PM   #3
Kmann
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
mcmillan
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 12:19 PM.

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