An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

# MEGASync Multi-Instance Manager

A distro-agnostic script to manage multiple MEGASync instances for different MEGA accounts.

image

## 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