For applications that haven't learned to share.
mine lets you syncronize application data using Dropbox.
It automatically starts and stops programs that would otherwise fight over data in a shared folder and ensures only one instance is running. Many applications work fine when their data is stored in Dropbox, but some programs overwrite databases:
while others periodically write snapshot data:
and some just don’t make sense to keep running on all your computers:
- Python 3.3+
mine can be installed with pip:
$ pip3 install mine
or directly from the source code:
$ git clone https://github.com/jacebrowning/mine.git $ cd mine $ python3 setup.py install
Create a mine.yml in your Dropbox:
config: applications: - name: Eclipse queued: false versions: linux: eclipse mac: Eclipse.app windows: eclipse.exe - name: iTunes queued: true versions: linux: null mac: iTunes.app windows: null computers: - address: 00:11:22:33:44:55 hostname: My-iMac.local name: My iMac - address: AA:BB:CC:DD:EE:FF hostname: My-MacBook-Air.local name: My MacBook Air
Include the applications you would like mine to manage. The versions dictionary identifies the name of the executable on each platform. The queued setting indicates it must be closed before anoter instance can start. Computers are added automatically when mine is run.
For remote application management, mine needs to be called periodically on each of your computers. Cron is good for this:
- find the full path to mine with $ which mine
- add a crontab scedule: */5 * * * * /full/path/to/mine
To synchronize the current computer’s state:
To close applications on remote computers and start them locally:
$ mine switch
To close applications locally an start them on another computer:
$ mine switch <name>
To delete conflicted files in your Dropbox:
$ mine clean
- Upgrade to YORM v0.4.
- Initial release.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|mine-0.1.2-py3-none-any.whl (26.5 kB) Copy SHA256 hash SHA256||Wheel||3.4||May 17, 2015|
|mine-0.1.2.tar.gz (19.2 kB) Copy SHA256 hash SHA256||Source||None||May 17, 2015|