For applications that haven't learned to share.
Project description
mine
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:
iTunes
iPhoto
etc.
while others periodically write snapshot data:
Eclipse
Xcode
etc.
and some just don’t make sense to keep running on all your computers:
Slack
HipChat
etc.
Getting Started
Requirements
Python 3.3+
Installation
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
Setup
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
Basic Usage
To synchronize the current computer’s state:
$ mine
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
Changelog
0.1.2 (2015/05/17)
Upgrade to YORM v0.4.
0.1.1 (2015/03/19)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mine-0.1.2.tar.gz.
File metadata
- Download URL: mine-0.1.2.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ae4e2bd47cd9015a284088aaba37c62b0ddc052efc70b64378536bca0870059
|
|
| MD5 |
2497204f9b88129fa47134e7451002f6
|
|
| BLAKE2b-256 |
38a83d1e34d2503dac5acb105dd77145acfaadc48605ac4e41d5b2d25a8a7f86
|
File details
Details for the file mine-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mine-0.1.2-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1468dccda0cd092dbc0d7f14dd7bc0554444c446d80368c5f9a33689ffd2ae8
|
|
| MD5 |
dddd2b777361f629cfcfdf7ea2206636
|
|
| BLAKE2b-256 |
6f0900c7bb6378926e570b2ad8054c59f07a81562be8a55c4264b0b6730db1f8
|