Results 1 to 4 of 4

Thread: USB syncing application

  1. #1

    Default 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!

  2. #2
    palladium NNTP User

    Default Re: USB syncing application

    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..

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,659
    Blog Entries
    15

    Default Re: USB syncing application

    Quote Originally Posted by nmccrina
    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!
    Hi
    Have a look at this thread, install ivman
    http://forums.opensuse.org/install-b...ss-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


  4. #4

    Default Re: USB syncing application

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •