Skip to content

geraldohomero/megasync-multiple-instances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

wget -O - https://raw.githubusercontent.com/geraldohomero/megasync-multiple-instances/refs/heads/main/megasync-manager.sh | bash -s install

Then use:

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 ACCOUNTS array to add instances manually:

declare -A ACCOUNTS=(
    ["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

About

Distro agnostic script to open and create multiple megasync instances (Debian, Fedora, Arch, Ubuntu, Mint, Pop-os, Zorin-os)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages