Skip to content

Instantly share code, notes, and snippets.

View thedirektor's full-sized avatar

Gabriel O. Maldonado thedirektor

View GitHub Profile
@paul-chambers
paul-chambers / torrent-complete
Last active November 6, 2024 14:01
Helper script for deluge or qBittorrent. It hardlinks completed torrents into a destination folder. It also unrars it, if it includes a rar archive.
#!/bin/bash
# Helper script for deluge or qBittorrent bittorrent clients
# Intended to be run when the torrent download completes
#
# for qBittorrent, enable 'Run external program on torrent completion' under 'Downloads' in the options dialog.
# in the text field, enter:
#
# <path to>/torrent-complete.sh "%K" "%N" "%D"
#