Skip to content

This php cli utility helps to manage Mutagen Sync sessions and allows to run some commands on multiple sessions.

Notifications You must be signed in to change notification settings

magmaconsulting/mutagen-sync-cli-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mutagen Sync sessions cli utility

This php utility helps to manage Mutagen Sync sessions and allows to run some commands on multiple sessions.

Install phar command

Download file pahr bin/msu and save into ~/bin/msu or in a directory in your execution path.

On linux/macos:

wget "https://raw.github.com/magmaconsulting/mutagen-sync-cli-utility/main/bin/msu" -O ~/bin/msu
chmod +x ~/bin/msu 

Usage examples

List all sessions:

msu  

List all active sessions:

msu -a

List all sessions containing "tos":

msu tos

Pause all sessions containing "tos":

msu tos --pause

Pause all sessions without asking:

msu --pause -n 

Resume session "tos-co1d":

msu tos-co1d --resume

Show help:

msu --help

Generate a new phar

Create new phar:

cd src/
php -d phar.readonly=0 create-phar.php

Check:

../bin/msu --help

Install to your $HOME/bin:

php install.phar.php

About

This php cli utility helps to manage Mutagen Sync sessions and allows to run some commands on multiple sessions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages