Commits

Luke Plant committed 5b220bd

Fixed upload_usermedia to exclude sermons for efficiency

Comments (0)

Files changed (1)

 
 
 def upload_usermedia():
-    local("rsync -z -r %s/ cciw@christchurchbradford.org.uk:%s" % (usermedia_local, usermedia_production), capture=False)
+    local("chmod ugo+r  -R %s/*" % usermedia_local)
+    local("rsync -z -r --exclude='*.mp3' %s/ cciw@christchurchbradford.org.uk:%s" % (usermedia_local, usermedia_production), capture=False)
 
 
 def upload_sermons():