Skip to content

Instantly share code, notes, and snippets.

@samelie
Last active July 4, 2019 20:29
Show Gist options
  • Save samelie/bda52b1fcc3961e8805f3492f9b080e9 to your computer and use it in GitHub Desktop.
Save samelie/bda52b1fcc3961e8805f3492f9b080e9 to your computer and use it in GitHub Desktop.
Use http://megatools.megous.com to download megafiles -- macOS

Brew

brew install megatools

Compile from source

This was needed because some support for encrytped folders was missing.

Using the experimental release from https://megatools.megous.com/builds/experimental/

  • Dowload the desired version
  • cd <folder>
    • You might have to download some missing packages and link them to PKG_CONFIG_PATH. Eg:
      • nano ~/.zshrc
      • add :export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH

Running a command:

megatools

megatools dl

Must remove all escapes so the url is as such: https://mega.nz/#F!v5MBmLQY!Pv05QDWQityO8KO4bq4OaA (Kingdom of Heaven)

Full command: megatools dl 'https://mega.nz/#F!v5MBmLQY!Pv05QDWQityO8KO4bq4OaA'

megadl

megadl 'https://mega.nz/#F!v5MBmLQY!Pv05QDWQityO8KO4bq4OaA'

!! Beware, it will not accept an escaped string

@samelie
Copy link
Author

samelie commented Jun 26, 2019

Archived megalinks: http://megadb.tweakly.net/index/megalinks_title.html

rabbitslair is a good user

@samelie
Copy link
Author

samelie commented Jun 27, 2019

also douhaveanygreypoupon

@samelie
Copy link
Author

samelie commented Jul 4, 2019

cobalt-green

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment