USB syncing application

Hi!
I was thinking that it would be nice to have a directory (or even several directories) on my computer, that my USB drive would automatically sync with when it was mounted. Sort of like the iPod/iTunes library thing, but for usb drives and regular files. Rsync is exactly what I want as far as the syncing goes, but I have to run it manually; I would prefer it to run by itself whenever I plug the device in. Is there a program that would set this up, or can someone suggest a way to do it with a bash script? I thought about doing a cron job that would check to see if the usb drive was mounted every so often and call rsync if it was, but that seemed a little clunky. :
Thanks for your help!

until you figure out how to run it like magic, you could put a
rsync/script under an easy to find icon to click…and, that way if
you wanted to connect the USB and get busy (say) watching a movie from
it, you might not want the sync script automatically running right then…

hmmm…did you want it to continuously sync as long as connected…or
only on initial connections… and, if continuous is desired, how
would you know when it is in sync (and ready to be unplugged… an icon
to click seems like a good way for that too, if you have an “I’m
finished.” signal from the script…


palladium
Have a lot of fun…

Hi
Have a look at this thread, install ivman
http://forums.opensuse.org/install-boot-login/424057-launch-script-when-usb-storage-process-starts.html


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 11:03, 2 users, load average: 0.17, 0.16, 0.15
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Thanks, the ivman thing looks like it will be perfect!