megash - one binary exec for everything like BusyBox
megash [ put | ls | dl | get | rm | mkdir | copy | reg | df ] @ARGS
or via symlinks megaXXX where
X = [ put | ls | dl | get | rm | mkdir | copy | reg | df ]
./autogen.sh
./configure --disable-docs
make
./utils/make_megash
ok!
bin/megash
bin/megacopy -> megash
bin/megadf -> megash
bin/megadl -> megash
bin/megaget -> megash
bin/megals -> megash
bin/megamkdir -> megash
bin/megaput -> megash
bin/megareg -> megash
bin/megarm -> megash
cp bin/mega* /usr/bin
now we can read config direct from STDIN, not only from files via -c - option
cat CONFIG | megash CMD -c - @ARGS