Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-19-2008, 06:12 AM   #1
LQ Newbie
Registered: May 2008
Posts: 18

Rep: Reputation: 0
Unison - syncing specific folders

Hi All,
i have alrady posted this on the Ubuntu forum but have not yet received an answer. This is why I am posting it here too in the hope someone can help.

I have been attempting to sync my music between my laptop and my desktop over the weekend. I have set up ssh successfully and the two are connecting fine. What I attempted to do was to sync the following:

/media/Storage/Music on my laptop (PIII, Xubuntu Hardy)

/home/other_user/Music on my desktop (AMD64, Ubuntu Hardy)

with Unison I picked to sync from my laptop to my desktop. Ticked SSH and put my username in. It started to sync but as it turned out it was syncing '/media/Storage/Music' with my home folder on the desktop only not the '/home/other_user/Music' How can I specify a specific folder to sync with another specific folder?

Old 08-19-2008, 02:44 PM   #2
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
you have to log in to the desktop as 'other_user'.

~# cat .unison/mymusic.prf
root = /media/Storage/Music/
root = ssh://other_user@desktop/Music/
batch = true

you can also specify full path, but this is not necessary if you can just log in as 'other_user':
root = ssh://other_user@desktop//home/other_user/Music/

also, this shouldn't be under networking but under software or desktop.
Old 08-19-2008, 03:29 PM   #3
LQ Newbie
Registered: May 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Grepmasterd, thanks - that worked well.


backup, unison

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution and syncing imap folders awl Linux - Software 0 02-15-2008 04:24 PM
Unison has found/created odd named files. I'm also after basic syncing advice. Mysticle31 Linux - Server 0 01-16-2008 12:50 PM
Syncing folders with unison ... Babe963 Linux - General 6 09-15-2006 01:08 PM
Excluding specific folders from backup karloslambchop Ubuntu 7 07-21-2006 09:10 PM
syncing 2 folders bwa Linux - Software 1 02-06-2005 08:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration