LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-09-2006, 04:15 PM   #1
ghostz00
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Rep: Reputation: 0
moving large directories over to linux from windows


I've already mounted the windows computer drive /mnt/backup and I want to move this to my home directory in linux. But if I try it on the command line it says "Argument list to long"

What's the best way to move my files over?

thanks
 
Old 12-09-2006, 04:23 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What command are you using? Does "mv *.* /wherever" work? Have you tried using rsync?
 
Old 12-09-2006, 04:27 PM   #3
ghostz00
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Original Poster
Rep: Reputation: 0
both the mv command and rsync command give me "argument list to long" am I missing an option?...because I run both without any.
 
Old 12-10-2006, 06:30 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What's the full command you are issuing? Do you have full rights to both directories (the from and to directories)?
 
Old 12-10-2006, 09:00 AM   #5
ghostz00
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Original Poster
Rep: Reputation: 0
sudo mv /mnt/backup/*.* /home/

Now the backup folder is on a windows machine with an ntfs file system. I could repartition the drive with a fat32 if that would help.
 
Old 12-10-2006, 10:16 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Do you have ntfs support compiled in the kernel? That could be why you are getting the error message.
 
Old 12-11-2006, 06:20 AM   #7
ghostz00
LQ Newbie
 
Registered: Nov 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I don't think I have ntfs support, but I labeled it as smbfs in fstab. It works and I can see the files, and I can copy one file. Just not all 4000+ at once. I'm going to install ntfs and see if that doesn't help any.
 
Old 12-11-2006, 03:38 PM   #8
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
This site may be of help

http://www.arsgeek.com/?p=585

I used this way and i have no problems getting stuff of my ntfs XP drives
 
  


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
Moving directories to new directories keysorsoze Linux - Newbie 2 03-31-2006 07:14 PM
Elegantly moving a large directory. aje Linux - General 2 07-07-2005 09:17 AM
Nautilus hangs in large media directories Maestro485 Fedora 4 11-14-2004 01:13 AM
FC2 I have 2 small drives moving to 1 large adem0rdna Linux - Hardware 2 10-18-2004 05:56 PM
moving large files mnauta Linux - General 2 04-27-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration