From 7e5d1c1bd942e657b1327c5d45e5dfd610e1284c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 17 Jun 2017 20:55:46 +0300
Subject: [PATCH] - More work on syncing podcasts, still WIP.

---
 .bashrc              | 1 +
 .unison/podcasts.prf | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/.bashrc b/.bashrc
index f98e6cd..74166cd 100644
--- a/.bashrc
+++ b/.bashrc
@@ -89,6 +89,7 @@ alias 0-day-cleanup='ssh xbmc.shore.co.il "sudo -u debian-transmission find /srv
 alias httpbin='tox -c $HOME/.tox.ini.httpbin --'
 alias update-requirements='find -name "*requirements*.txt" -exec pur --requirement {} \;'
 alias restart-kodi='ssh xbmc.shore.co.il "sudo systemctl kill --kill-who all xorg.service"'
+alias sync-podcasts='(cd && unison podcasts)'
 
 deduce_aws_region () {
     AWS_DEFAULT_REGION="$(curl --silent \
diff --git a/.unison/podcasts.prf b/.unison/podcasts.prf
index e69de29..1a809e5 100644
--- a/.unison/podcasts.prf
+++ b/.unison/podcasts.prf
@@ -0,0 +1,7 @@
+root = Downloads/Podcasts/
+root = ssh://xbmc.shore.co.il//srv/library/nimrod/Podcasts
+path = .
+batch = true
+
+#nocreation
+#nodeletion
-- 
GitLab