megacmd

Manage MEGA cloud storage via MEGAcmd commands for automated workflows.

1|1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/Birdywen/genspark-agent --skill megacmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: megacmd
Source: https://github.com/Birdywen/genspark-agent/tree/main/skills/megacmd
Command: npx skills add https://github.com/Birdywen/genspark-agent --skill megacmd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a concise, reliable way to manage MEGA cloud storage from the command line, eliminating the need to switch contexts between web UI and local scripts.

Core Features & Use Cases

  • Login & session management: Authenticate and maintain session state with mega-login and mega-logout.
  • File operations: List, upload, download, create remote directories, copy/move/delete remote content.
  • Sync & sharing: Setup bi-directional sync and generate share links using mega-sync and mega-export.

Quick Start

Install MEGAcmd and ensure the mega binary is on your PATH. Then run a sample workflow:

  • login with mega-login, provide email and password
  • list files with mega-ls, navigate with mega-cd
  • download a file with mega-get, upload with mega-put
  • create a share with mega-export

Frequently Asked Questions about megacmd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage MEGA cloud storage files from the command line?

You can manage MEGA cloud storage from the command line using MEGAcmd to list, upload, download, and navigate remote directories without switching to the web UI. It enables automated file operations directly from local scripts.

What do I need to automate MEGA file uploads and downloads?

To automate MEGA file uploads and downloads, you need the MEGAcmd tool installed and accessible in your system's PATH. Once configured, you can use commands like mega-put and mega-get to transfer files programmatically.

Can I set up bi-directional sync with MEGA cloud storage via CLI?

Yes, you can set up bi-directional sync with MEGA cloud storage via CLI using the mega-sync command. This keeps your local directories and remote cloud storage synchronized automatically across both environments.

How do I generate a share link for a file on MEGA using terminal commands?

To generate a share link for a file on MEGA using terminal commands, you use the mega-export command. This creates a shareable URL for your remote content directly from your command line interface.

Does managing MEGA cloud storage from a CLI require any graphical interface?

Managing MEGA cloud storage from a CLI does not require a graphical interface, eliminating the need to switch contexts to a web UI. You can authenticate, manage files, and sync entirely through local terminal commands.