🔧 Added lftorr script

This commit is contained in:
z3rOR0ne 2024-08-09 16:10:46 -07:00
parent 1674f1a9d6
commit 924050bf4d

12
scripts/lftorr Executable file
View file

@ -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"