From 924050bf4d93cc8c826417d96d3d9e2363ed3915 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 9 Aug 2024 16:10:46 -0700 Subject: [PATCH] :wrench: Added lftorr script --- scripts/lftorr | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/lftorr diff --git a/scripts/lftorr b/scripts/lftorr new file mode 100755 index 00000000..6308dc8e --- /dev/null +++ b/scripts/lftorr @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# TODO: Write a Help Flag +# TODO: Have an IF check that prevents execution if using REAL IP (i.e. Must use +# VPN) +# TODO: Use read and parallel to allocate many urls to an array and then +# executes many lftp executions in parrallel (i.e. download multiple files at +# once) + +TORRENT_URL="${1}" + +lftp -e "torrent -O $HOME/Downloads $TORRENT_URL" \ No newline at end of file