Tuesday, May 1, 2012

Transfer photo files from phone to computer using a USB cable

Connect the supplied usb cable from the phone to a usb port of the comuter. Your phone will ask your if you want to turn on USB Storage. Tap that prompt, and in your Linux (mine has a Ubuntu OS) computer, open a terminal and type df. Your android phone should appear in the list.
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1            113179556  70826336  36603960  66% /
udev                   1405852         4   1405848   1% /dev
tmpfs                   565908       952    564956   1% /run
none                      5120         0      5120   0% /run/lock
none                   1414760       116   1414644   1% /run/shm
/dev/sdb1             15105408    181952  14923456   2% /media/9338-1802
Notice the "/media/9338-1802" entry? That is how the Moto fire looks as a file system to the PC. Where are the image files stored? Look in the directory "/media/9338-1802/DCIM/Camera". Now in the terminal you can copy or even move the image files to any directory in the PC. For example,
mkdir ~/my-moto
cd  ~/my-moto
mv -v /media/9338-1802/DCIM/Camera/* .
All your image files stored in the Fire XT/DCIM/Camera directory will now be moved to the current director ~/my-moto. The whole procedure is quite fast! You forgot wher your USB cable is? That will be a topic of future articles.

No comments:

Post a Comment