Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-09-2006, 04:15 PM
|
#1
|
LQ Newbie
Registered: Nov 2006
Posts: 8
Rep:
|
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
|
|
|
12-09-2006, 04:23 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
What command are you using? Does "mv *.* /wherever" work? Have you tried using rsync?
|
|
|
12-09-2006, 04:27 PM
|
#3
|
LQ Newbie
Registered: Nov 2006
Posts: 8
Original Poster
Rep:
|
both the mv command and rsync command give me "argument list to long" am I missing an option?...because I run both without any.
|
|
|
12-10-2006, 06:30 AM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
What's the full command you are issuing? Do you have full rights to both directories (the from and to directories)?
|
|
|
12-10-2006, 09:00 AM
|
#5
|
LQ Newbie
Registered: Nov 2006
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
12-10-2006, 10:16 AM
|
#6
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Do you have ntfs support compiled in the kernel? That could be why you are getting the error message.
|
|
|
12-11-2006, 06:20 AM
|
#7
|
LQ Newbie
Registered: Nov 2006
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
12-11-2006, 03:38 PM
|
#8
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|