rsync can be used in many ways. This small utility got its name from Remote Synchronization words. However the word remote does no have to be a remote location over the network. rsync can be also used to synchronize your camera photos with your PC's hard drive. No fancy MS windows synchornizator tools which came with your camera are nedded. Here are simple steps how to sychronize:

first find you USB device name:

# fdisk -l
# mount your USB:
# mkdir /media/camera
# mount /dev/sdb1 /media/camera/

create local directory for your photos:

$ mkdir ~/photos

synchronize your photos:

$ rsync -av /media/camera/ ~/photos

All done. Next time when you make some new pictures just repeat the the following:

# fdisk -l
# mount /dev/sdb1 /media/camera/
$ rsync -av /media/camera/ ~/photos

at this point rsync will copy only new images. This is also good way to keep a backup of you images.

OPTIONS SUMMARY:

-a, --archive archive mode

-v, --verbose increase verbosity

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top