Skip to content

kabniel/pumpmigrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# PumpMigrate

Move, copy or sync contacts you follow between accounts.

Author:		Jonas (kabniel) Haraldsson
Project page:	<https://gitorious.org/pumpmigrate>
Git repo:	<https://git.gitorious.org/pumpmigrate/pumpmigrate.git>

## Usage

PumpMigrate has three subcommands, `move`, `sync` and `load`

To move contacts between two accounts, run:
	pumpmigrate.py move

To sync contacts for two accounts, run:
	pumpmigrate.py sync

To load contacts from file, run:
	pumpmigrate.py load my_contacts.json

When an account is first used with PumpMigrate,
it will ask you for permission to use that account.

For more help, run:
	pumpmigrate.py subcommand --help

### Examples

#### Move contacts

user@pump1 is following foo and user@pump2 is following bar.
	pumpmigrate.py move -a user@pump1 user@pump2
user@pump1 is not following anyone, and user@pump2 is following foo and bar.

#### Copy contacts

user@pump1 is following foo and user@pump2 is following bar.
	pumpmigrate.py move -a user@pump1 user@pump2 --no-unfollow
user@pump1 is still following foo, and user@pump2 is following foo and bar.

#### Sync contacts

user@pump1 is following foo and user@pump2 is following bar.
	pumpmigrate.py sync -a user@pump1 user@pump2
user@pump1 and user@pump2 are now both following foo and bar.

#### Load contacts
	pumpmigrate.py load -a user@pump my_contacts.json
File contents should be in the format of:
	["user@pump1", "anotheruser@pump2"]

## Files

Account credentials are stored in `~/.config/pumpmigrate/accounts.json`
Backup of contacts are stored in `~/.cache/pumpmigrate/<webfinger>_followings_<timestamp>.json`

## Dependencies

* Python (tested with 2.7)
* PyPump 0.5 <https://github.com/xray7224/PyPump>

## Contact info

pump.io network profile: <https://microca.st/kabniel>
I can also be found in #pump.io on irc.freenode.net

About

Move, copy or sync contacts between pump.io accounts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages