Results 1 to 3 of 3
Hi All,
I need to transfer about 50 GB from my linux machine to the windows one. So I mounted my windows share and executed:
cp -r /home/nahum/Music/* .
It ...
- 02-04-2010 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 6
Transfering big amount of data using cp
Hi All,
I need to transfer about 50 GB from my linux machine to the windows one. So I mounted my windows share and executed:
cp -r /home/nahum/Music/* .
It copied about 20 GB but then it says "cp: cannot stat `./The Doors_': Cannot allocate memory"
There is more then enough space on the destenation machine.
What is worng?
Thanks,
Nahum
- 02-05-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Remember, Windows file systems are case-insensitive, so it may well be that this is a misleading error and the real problem is a duplicate (to Windows' eyes at least) file already there. Check for that.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-05-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
FWIW, it well may be that cp cannot copy the file because of internal memory limitations and buffering needs. You can use rsync or dd as well to copy the files to the remote system.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote