Using the eg rTorrent page - rtorrent-community/rtorrent-community.github.io GitHub Wiki

To access the eg rTorrent examples directly from your prompt with eg rtorrent, do this:

  • Install eg:
pip install --user eg
mkdir -p "$HOME/.config/eg/examples"
cat >"$HOME/.config/eg/config.ini" <<'.'
[eg-config]
custom-dir = ~/.config/eg/examples
squeeze = true
.
  • Add this to your ~/.bash_aliases (and also call it directly once, for your running terminal session):
alias eg="command $HOME/.local/bin/eg --config-file=$HOME/.config/eg/config.ini"
  • Download the examples page (use the same command for updates):
wget -O "$HOME/.config/eg/examples/rtorrent.md" \
     "https://raw.githubusercontent.com/wiki/rtorrent-community/rtorrent-community.github.io/eg-rTorrent.md

Now call eg rtorrent. :tada:

eg rtorrent output