From 5e3777cfc72cad68e3546a9ab316c2058f62fe34 Mon Sep 17 00:00:00 2001 From: Pareksha Manchanda <32385407+pareksha@users.noreply.github.com> Date: Tue, 10 Oct 2017 14:07:50 +0530 Subject: [PATCH] Update downloaded.py --- gdriveTorrent/downloaded.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gdriveTorrent/downloaded.py b/gdriveTorrent/downloaded.py index 270b3e0..743b3a3 100644 --- a/gdriveTorrent/downloaded.py +++ b/gdriveTorrent/downloaded.py @@ -1,6 +1,11 @@ #!/usr/bin/python -#Script to be run on-bt-download-complete of aria2c +''' +This script will be run automatically on-bt-download-complete of aria2c i.e. when the torrent is successfully downloaded. +It gets a list of files into your downloads directory and uploads them one by one to your google drive. +Add a the following line in ~/aria2.conf (if not already present): + on-bt-download-complete = +''' import os import sys