Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Distributed Versionized Backup
Python Shell
Branch: sni-interface
Pull request Compare This branch is 11 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
deveba
kde
tests
.gitignore
LICENSE
README.markdown

README.markdown

Deveba is a simple wrapper around git to synchronize folders on multiple computers.

Setup

Adding a folder to sync

Create a git repository in the folder you want to sync:

cd ~/my-folder
git init
# Optional: setup a .gitignore
git add .
git ci
# Publish the new repository to some server
git remote add origin git/url/for/my-folder.git

Create a config file for deveba

mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <<EOF
<config>
  <group name="daily">
    <repo path="~/my-folder"/>
    <!-- Add more repo here if needed -->
  </group>
</config>
EOF

Add a cronjob calling deveba with your group:

deveba daily

Syncing an existing folder

Clone the folder from the server

git clone git/url/for/my-folder.git

Create a config file for deveba

mkdir -p ~/.config/deveba
cat ~/.config/deveba/deveba.xml <<EOF
<config>
  <group name="daily">
    <repo path="~/my-folder"/>
    <!-- Add more repo here if needed -->
  </group>
</config>
EOF

Add a cronjob calling deveba with your group:

deveba daily
Something went wrong with that request. Please try again.