https://github.com/geraldohomero/megasync-multiple-instances
Distro agnostic script to open and create multiple megasync instances (Debian, Fedora, Arch, Ubuntu, Mint, Pop-os, Zorin-os)
https://github.com/geraldohomero/megasync-multiple-instances
archlinux bash bash-script fedora linux megasync mint shell ubuntu zenity
Last synced: 9 months ago
JSON representation
Distro agnostic script to open and create multiple megasync instances (Debian, Fedora, Arch, Ubuntu, Mint, Pop-os, Zorin-os)
- Host: GitHub
- URL: https://github.com/geraldohomero/megasync-multiple-instances
- Owner: geraldohomero
- License: gpl-3.0
- Created: 2025-09-14T19:45:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-19T11:14:14.000Z (9 months ago)
- Last Synced: 2025-09-19T13:24:23.179Z (9 months ago)
- Topics: archlinux, bash, bash-script, fedora, linux, megasync, mint, shell, ubuntu, zenity
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MEGASync Multi-Instance Manager
A distro-agnostic script to manage multiple MEGASync instances for different MEGA accounts.

## Features
- Works on Debian, Ubuntu, Fedora, and Arch Linux
- Graphical interface with Zenity
- Isolated instances with separate config directories
- Add instances dynamically
- Persistent instance storage
## Installation
Run this command to install:
```bash
wget -O - https://raw.githubusercontent.com/geraldohomero/megasync-multiple-instances/refs/heads/main/megasync-manager.sh | bash -s install
```
Then use:
```bash
mega
```
The script detects your distro and installs dependencies (`megasync`, `zenity`).
## Usage
- Run `mega` to open the manager.
- Select instances to start or add new ones.
- Configure auto-startup for instances.
## Configuration
Edit the script's `CONTAS` array to add instances manually:
```bash
declare -A CONTAS=(
["MEGASync_Instance_1"]="$HOME/.config/MEGASync_Instance_1"
["MEGASync_Instance_2"]="$HOME/.config/MEGASync_Instance_2"
)
```
## Troubleshooting
- Ensure graphical environment and permissions.
- Check config directories exist.
- For auto-startup, verify `~/.config/autostart/` files.
## Support
Open issues on GitHub for bugs or suggestions.
For support or questions:
- Open an issue in the repository
- Check script logs for error messages
- Make sure all dependencies are installed