Commands:
alluvion help [COMMAND] # Describe available commands or one specific command
alluvion synchro:done # Execute synchro (done)
alluvion synchro:todo # Execute synchro (todo)
Alluvion uses rsync
(as default) to synchronize files.
url: 'ssh://user@example.org:22'
paths:
local:
done: '/var/alluvion/done'
todo: '/var/alluvion/todo'
remote:
done: '/var/alluvion/done'
todo: '/var/alluvion/todo'
Config supports environment variables, using ERB-like syntax:
url: 'ssh://<%= @SYNCHRO_USER%>@<%= @SYNCHRO_HOST%>:22'
timeout: <%= ENV['SYNCHRO_TIMEOUT']&.to_i || 5 %>
paths:
local:
done: '<%= @SYNCHRO_VOLUME %>/done'
todo: '<%= @SYNCHRO_VOLUME %>/todo'
remote:
done: '<%= @SYNCHRO_REMOTE_PATH %>/done'
todo: '<%= @SYNCHRO_REMOTE_PATH %>/done'