Last active
March 15, 2025 19:59
-
-
Save arthurafarias/401ae5fbbb76a4e1e5e5 to your computer and use it in GitHub Desktop.
Simple example script to load multiples instances of mega.co.nz client on linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for d in */ ; do | |
| HOME=$(pwd)/$d; | |
| echo $d; | |
| # Remove the comment by your need | |
| # megasync # first run (configure client by client at once) | |
| # megasync 2> /dev/null & # load all clients at non blocking way | |
| done |
The last update of @NicoVarg99's script is already 6 years old. I made a new version with some modifications and checks and I hope you find it useful
MEGAsync Instances (start | stop | status)
# Dependencies:
# sudo apt install zenity libatk-adaptor libgail-common libgtk2.0-0 (or libgtk2.0-0t64 for Ubuntu 24.04)
# Download and Install:
# sudo wget -O /usr/bin/msyncs https://raw.githubusercontent.com/maravento/vault/master/scripts/bash/msyncs
# sudo chmod 755 /usr/bin/msyncs
# Run:
# msyncs start|stop|status
PD: At the moment it is only compatible with Ubuntu 22.04/24.04 x64 (I have not been able to verify it on other distros)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So its impossible to run 3 instances of mega-cmd simultaneously, am I right?