LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-19-2008, 05:12 AM   #1
toni_uk
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.

http://ubuntuforums.org/showthread.php?t=893328

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)

with
/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?

Thanks!
 
Old 08-19-2008, 01:44 PM   #2
grepmasterd
Member
 
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, 02:29 PM   #3
toni_uk
LQ Newbie
 
Registered: May 2008
Posts: 18

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


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 03:32 AM.

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