Re: Synchronizing more than one folder/file in Unison, per profile

2010-02-01 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthew Moore anonymous.jon...@gmail.com writes:

 On Sunday January 31 2010 11:39:31 am Merciadri Luca wrote:
 Matthew Moore anonymous.jon...@gmail.com writes:
  You can add multiple path = settings. For example, your profile would
  look something like
 
  root = computer 1
  root = computer 2
 
  path = /home/myself/Docs
  path = /home/Docs.txt
 
 Okay. Nice. However, your example does not work (at least with my
 Unison), as it asks for relative paths (and not absolute). I did not
 know this. Thanks!

 They are relative to the root directories. In your case, you would have it as

 root = /
 root = ssh://other compter//

 ... or something like that. If you only care about syncing targets that are 
 anchored in /home/, then you could change your roots to be something else.

Sure. Okay. Thanks.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Don't try to teach a pig to sing. It doesn't work, and you'll annoy
  the pig. 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAktmt74ACgkQM0LLzLt8MhxM0wCfeNuWZK+AnfhULGZqarE+saTA
CkEAn37HDtMUZqDW7RAMMuc0Di05mNbm
=0FiD
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Synchronizing more than one folder/file in Unison, per profile

2010-01-31 Thread Matthew Moore
On Sunday January 31 2010 3:58:10 am Merciadri Luca wrote:
 For example, if I have a profile `Docs', I would like to synchronize
 /home/myself/Docs
 
 _and_
 
 /home/Docs.txt
 
 Is it possible? I tried modifying the related .prf in ~/.unison/, but
 it did not work out.

You can add multiple path = settings. For example, your profile would look 
something like

root = computer 1
root = computer 2

path = /home/myself/Docs
path = /home/Docs.txt

MM


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Synchronizing more than one folder/file in Unison, per profile

2010-01-31 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthew Moore anonymous.jon...@gmail.com writes:

 You can add multiple path = settings. For example, your profile would look 
 something like

 root = computer 1
 root = computer 2

 path = /home/myself/Docs
 path = /home/Docs.txt
Okay. Nice. However, your example does not work (at least with my
Unison), as it asks for relative paths (and not absolute). I did not
know this. Thanks!

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Don't take life too seriously; you'll never get out of it alive.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAktlzmMACgkQM0LLzLt8MhzwwwCeLDtSx2etr2NcAUgKbcJPnzEm
B7cAoJ8JRDoZnHzST0MVOvsZvWP5pWHA
=l3yR
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Synchronizing more than one folder/file in Unison, per profile

2010-01-31 Thread Matthew Moore
On Sunday January 31 2010 11:39:31 am Merciadri Luca wrote:
 Matthew Moore anonymous.jon...@gmail.com writes:
  You can add multiple path = settings. For example, your profile would
  look something like
 
  root = computer 1
  root = computer 2
 
  path = /home/myself/Docs
  path = /home/Docs.txt
 
 Okay. Nice. However, your example does not work (at least with my
 Unison), as it asks for relative paths (and not absolute). I did not
 know this. Thanks!

They are relative to the root directories. In your case, you would have it as

root = /
root = ssh://other compter//

... or something like that. If you only care about syncing targets that are 
anchored in /home/, then you could change your roots to be something else.

MM


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org