Giter Site home page Giter Site logo

unisonotify's Introduction

Unisonotify

A small wrapper script for unison that uses libnotify to indicate when unison started and how it completed.

The script can be called via cron or anacron to automate data synchronisation.

Preview

preview1.png

Preview 1 (Ubuntu)

preview2.png

Preview 2 (Ubuntu)

Installation

The only requirement for the main script is unison (should be on the system PATH) and the python-notify package.

On ubuntu or debian run:

apt-get install python-notify unison

Create unison profiles for the folders you want to synchronize and optionally add scripts to /etc/cron.hourly to automatically run the synchronisation with anacron:

#!/bin/sh
# run unison sync as user foo for profile bar
sudo -u foo -H /home/foo/.local/bin/Unisonotify/unisonotify.py bar

License

Copyright © 2013 Rocco Schulz

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file for more details.

unisonotify's People

Contributors

schocco avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.