No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rtorrent-magnet 176B

12345
  1. #!/bin/bash
  2. watch_folder=/riddlebox/rt/watch
  3. cd $watch_folder
  4. [[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit;
  5. echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent"