在Linux中运行多个megasync实例

时间:2023-01-18 18:36:36

I would like to know if there is a way to run multiple megasync, the cloud storage sync tool from MEGA.co.nz, because I have 2 different accounts, one personal and another for all my family.

我想知道是否有办法运行多个megasync,MEGA.co.nz的云存储同步工具,因为我有2个不同的帐户,一个是个人的,另一个是我的全家人。

I'm running ArchLinux in my computer.

我在电脑上运行ArchLinux。

Thank you!

2 个解决方案

#1


5  

Just change environment variable $HOME for each megasync instance. that you want to load.

只需为每个megasync实例更改环境变量$ HOME。你想加载。

I've created a simple example script to that. It loads a mega.co.nz client inside each folder inside the path that contains the script.

我已经创建了一个简单的示例脚本。它在包含脚本的路径内的每个文件夹中加载一个mega.co.nz客户端。

#2


2  

As Arthur said, you just need to change $HOME for each instance.

正如Arthur所说,你只需要为每个实例更改$ HOME。

I've created a script for Ubuntu that will help you through the configuration. It may also run on Arch -I think-, just check you have megasync and zenity installed.

我已经为Ubuntu创建了一个脚本,可以帮助您完成配置。它也可以在Arch上运行 - 我想 - 只需检查你是否安装了megasync和zenity。

#1


5  

Just change environment variable $HOME for each megasync instance. that you want to load.

只需为每个megasync实例更改环境变量$ HOME。你想加载。

I've created a simple example script to that. It loads a mega.co.nz client inside each folder inside the path that contains the script.

我已经创建了一个简单的示例脚本。它在包含脚本的路径内的每个文件夹中加载一个mega.co.nz客户端。

#2


2  

As Arthur said, you just need to change $HOME for each instance.

正如Arthur所说,你只需要为每个实例更改$ HOME。

I've created a script for Ubuntu that will help you through the configuration. It may also run on Arch -I think-, just check you have megasync and zenity installed.

我已经为Ubuntu创建了一个脚本,可以帮助您完成配置。它也可以在Arch上运行 - 我想 - 只需检查你是否安装了megasync和zenity。