Skip to content
Snippets Groups Projects
Commit bc985a65 authored by nimrod's avatar nimrod
Browse files

Some megacmd updates.

parent c8335b4f
No related branches found
No related tags found
No related merge requests found
# shellcheck shell=bash # shellcheck shell=bash
# vim: ft=sh # vim: ft=sh
megacmd() { megacmd() {
docker --context kodi image pull registry.shore.co.il/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 "$@" cid="$(docker --context kodi run --detach --volume "/srv/library:/Downloads" registry.shore.co.il/megacmd "$@")"
docker --context kodi logs --follow "$cid"
docker --context kodi container rm "$cid"
} }
alias mega-exec='docker --context kodi run registry.shore.co.il/megacmd'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment