mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 15:25:20 +05:30
19 lines
395 B
Bash
Executable File
19 lines
395 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "$*" ]; then
|
|
magnet="$(xclip -out clipboard)"
|
|
else
|
|
magnet=$*
|
|
fi
|
|
|
|
printf "Enter Directory (default:MOVIES) :"
|
|
read x
|
|
|
|
if [ -z "$x" ]; then
|
|
x="MOVIES"
|
|
fi
|
|
|
|
notify-send "Torrent:Rukk ja cheecha Download ho rha hai"
|
|
echo "$magnet"
|
|
aria2c -d $x --seed-time=0 "$magnet" && notify-send "Torrent:cheecha download hogyi" || notify-send -u critical "Torrent:cheecha error!!"
|