Skip to main content

rsync tutorial? 77 Responses

Last post: 1 year, 7 months ago | Thread started: Nov 1, 11, 7:47 a.m.

RespondNew TopicDisable Images

  • elahon

    Got a new laptop for work, and I want to have about 8GB of files in sync with it and my desktop at home so I can quickly and easily run a script to update both sides with the most recent file changes.

    Anyone have any good tips or rsync tutorials that are more recent than 2001?

    Nov 1, 11, 7:47 a.m. – Permalink
  • elahon

    *and I have about 8GB of files that I want to keep in sync between it and my desktop*

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 7:48 a.m. – Permalink
  • sherm

    how about a folder on dropbox or github(if its pure code)?
    I thought rsync was used between two linux servers... not desktop to desktop?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 11:09 a.m. – Permalink
  • elahon

    I might just end up going that route, but I'd rather not shell out the $$. I've found some articles about setting it up to work between computers on a network, and I've gotten it to work going one way, but not the other.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 11:12 a.m. – Permalink
  • comicsans

    rsync hasn't really changed that much so any tutorial will mostly be relevant.

    One tip: there is a debug switch which will tell you what would have been transferred rather actually doing it. Use this to fine tune your settings.

    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 11:29 a.m. – Permalink
  • sublocked

    Dude just spend about 30mins - 1hr reading about rsync and you should be able to hack together a shell script to get it handled.

    Generally, it's just...

    rsync -rv [local path] user@host:/some/path

    -r is recursive, -v is verbose. Run "man rsync" to read more documentation. This isn't rocket science.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 12:02 p.m. – Permalink
  • sublocked

    And you can swap the paths around if you want to pull from remote host to your localhost. That syntax would be

    rsync -rv user@host:/some/remote/path ./some/local/path

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 1, 11, 12:03 p.m. – Permalink
  • lukus_W2

    'rsync --help' provides quite a lot information.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 3, 11, 6:16 a.m. – Permalink

Login or Register to respond to this

Skip to main content