send-torrent-to-htpc 258 B

123456789
  1. #!/usr/bin/env bash
  2. #
  3. # I develop on a laptop and prefer to send torrent files (linux isos, etc.) to my desktop
  4. #
  5. # I set .torrent links to open this script by default in firefox
  6. #
  7. mv "$1" "$HOME/Documents/torrents/"
  8. chmod +rw "$HOME/Documents/torrents/$1"