unison

LINUX
=====
apt-get update
apt-get upgrade
apt-get install ocaml

wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.4.tar.gz
tar -xzf unison-2.48.4.tar.gz
mv src unison-2.48.4
cd unison-2.48.4
make

cp unison /bin/unison

MAC
===
brew install ocaml
wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.48.4.tar.gz
tar -xzf unison-2.48.4.tar.gz
mv src unison-2.48.4
cd unison-2.48.4
make

cp unison /bin/unison

WINDOWS
=======
https://www.irif.fr/~vouillon/unison/unison%202.48.4.zip

exemple de fichier prf
======================
emacs ~/.unison/raf.prf

# Unison preferences
root = ssh://raf@46.105.126.96//home/raf
root = C:\Users\raf
sshcmd=ssh.exe
sshargs=-C -pw MOTDEPASSE
path = Music
path = Pictures
path = Downloads
path = Videos
path = .ssh
path = .popcap
path = .sublime
path = .syntevo
path = .unison
path = .filezilla
path = .gitconfig
path = .rtorrent.rc
ignore = Regex \.unison/[a-z0-9]{8}
ignore = Regex \.unison/[a-z0-9]{34}
ignore = Name {.filezilla/queue.sqlite3}
ignore = Name {.notepad++/session.xml}
ignore = Name {app/cache}
ignore = Name {app/logs}
ignore = Name {vdrive/.sys/apache2/logs}
ignore = Name {vdrive/.sys/mysql/data}
ignore = Name {vdrive/.sys/mongodb/data}
ignore = Name {vdrive/profiling}
ignore = Name {.sublime/Local/License.sublime_license}
ignore = Name {thumbs.db}
ignore = Name {desktop.ini}
ignore = Name {.DS_Store}
ignore = Path {Documents/Ma musique}
ignore = Path {Documents/Mes images}
ignore = Path {Documents/Mes vidéos}
ignore = Name {Folder.jpg}
ignore = Name {AlbumArt*.jpg}
ignore = Name {.picasa.ini}
ignore = Name {.SyncArchive}
ignore = Name {.SyncID}
ignore = Name {.SyncIgnore}
ignore = Name {Ignore}
ignore = Name {trading/db}
times = false
auto = true
perms = 0
diff = "C:\Users\raf\Downloads\programmes\WinMerge-2.14.0\WinMergeU.exe"

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.