Copy many large files from phone to SD card

When I replaced my Android phone, I needed to copy files from an old micro SD card to a new micro SD card. I used a Windows 7 computer with the phone (with old SD card) attached to a USB port on the PC and the new SD card attached to another USB port on the same PC.

This large copy operation worked fine except with files larger than 400 megabytes. Windows Explorer’s drag and drop copy function would fail after copying several hundred megabytes. Without warning the new SD card would vanish from Windows’ device inventory and the copy operation would stop.

I wrote an article in 2009 about Windows’ copy problems. The robocopy command line utility seems to fix many of these problems.

I used Windows 7’s ROBOCOPY command line utility with the /XO and /W:5 switches.  This way, even if the robocopy operation fails, it won’t try to copy files that already have been copied. It worked, even when the new SD card would vanish from Windows’ device inventory.  The restarted command would simply resume copying from the point at which the last attempt failed.  Voila!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s