Commit e785236c authored by nimrod's avatar nimrod
Browse files

megacmd shell function.

Runs the Mega CLI in a container from the image in the dockerfiles repo
in the Kodi host.
parent aa529ca4
Loading
Loading
Loading
Loading

.bashrc.d/megacmd

0 → 100644
+7 −0
Original line number Diff line number Diff line
# shellcheck shell=bash
# vim: ft=sh

megacmd() {
    docker --context kodi image pull registry.shore.co.il/megacmd
    docker --context kodi run --rm --volume "/srv/library:/Downloads" registry.shore.co.il/megacmd "$@"
}