This php utility helps to manage Mutagen Sync sessions and allows to run some commands on multiple sessions.
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
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
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