Sign inSign up

roinj/megacmd-alpine

By roinj

•Updated over 2 years ago

MegaCMD with WebDAV support based on Alpine linux

Image
Networking
Web servers
Databases & storage
2

3.8K

roinj/megacmd-alpine repository overview

⁠MegaCMD with WebDAV support based on Alpine Linux

This repository provides a a build of MegaCMD⁠ based on Alpine Linux. MegaCMD is a command-line interface (CLI) for the MEGA.nz cloud storage service, allowing users to interact with their MEGA.nz account from the terminal.

The reason: The Mega team currently doesn't provide a MegaCMD build for Alpine Linux. There is a MegaCMD community package, but it doesn't support WebDAV. This repository was created to build MegaCMD with WebDAV support for Alpine Linux on both x86 and aarch64 platforms.

⁠Installation

Before you begin, ensure you have the Docker installed on your machine: Install Docker⁠.

⁠Pull the image from Docker Hub

To pull the pre-built image from Docker Hub, run the following command:

docker pull roinj/megacmd-alpine
⁠Building the Docker Image

Alternatively, you can build the Docker image for from the source:

git clone https://github.com/roinj/megacmd-alpine-docker.git
cd MegaCMD-Alpine-Docker
docker build -t megacmd-alpine .

⁠Usage

⁠Running the Docker Container

After building the Docker image or pulling it from Docker Hub, you can run the container using the following command:

docker run -it --rm megacmd-alpine

This command will start a container with MegaCMD installed, allowing you to use MegaCMD commands.

⁠Example Commands
# Login to your MEGA.nz account
mega-login [email protected] your-password

# Upload a file to your MEGA.nz account
mega-put /path/to/local/file /remote/path

# Download a file from your MEGA.nz account
mega-get /remote/path /path/to/local/destination

# List files in your MEGA.nz account
mega-ls /remote/path

# Start WebDAV service
mega-webdav /remote/path

You can find more commands in this User Guide⁠.

Tag summary

Content type

Image

Digest

sha256:ecde2b331…

Size

26.9 MB

Last updated

over 2 years ago

docker pull roinj/megacmd-alpine