MediaFire introduces Linux tools

The popular file hosting service MediaFire announced two tools to access a MediaFire account on Linux. Both the tools are open source (GPLv2 licensed) and are included in the mediafire-fuse project on GitHub. The tools grant access to MediaFire account in two ways:

  • mediafire-shell: a simple shell for a mediafire account like ftp(1)
  • mediafire-fuse: a fuse module that is able to mount the mediafire share locally


You need to compile the mediafire-fuse project to install the tools. Run the following commands on Ubuntu:

$ sudo apt-get install cmake build-essential libjansson-dev libcurl4-openssl-dev libfuse-dev libssl-dev
$ git clone
$ cd mediafire-tools
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install


While it is possible to add your username and password to a plaintext configuration file, that might reveal your account information. The advisable way is to use the cmdline.

The configuration file is ~/.config/mediafire-tools/config. Add the username and password to it as:

# this line is ignored
--password secret
--username -p secret

Mediafire Shell

Provides a FTP like interface to the MediaFire account. To check the options:

$ mediafire-shell --help

Mediafire Fuse

Mount an account to a local mountpoint:

$ mediafire-fuse /mnt

Unmount the account:

$ fusermount -u /mnt

On GitHub: mediafire-fuse

2 thoughts on “MediaFire introduces Linux tools”

    1. I don’t think there’s a way at this point and it’s not on their TODO list either. You can raise a feature request on the project if you need it. I think it’s very useful.

Leave a Reply

Your email address will not be published. Required fields are marked *