-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mega.sh
74 lines (74 loc) · 2.26 KB
/
Mega.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/system/bin/sh
echo ""
pkg install -y megatools &>> /dev/null
if [ -e /data/data/com.termux/files/usr/bin/megatools ]; then
echo ""
else
echo -e "${r}Error En Instalacion${b}"
fi
#================================
# Color
#================================
black="\e[1;30m"
blue="\e[1;34m"
green="\e[1;32m"
cyan="\e[1;36m"
red="\e[1;31m"
purple="\e[1;35m"
yellow="\e[1;33m"
white="\e[1;37m"
#================================
# Banner
#================================
echo -e " ${white}## ## ######## ${red} ###### ### "
echo -e " ${white}### ### ## ${red} ## ## ## ## "
echo -e " ${white}#### #### ## ${red} ## ## ## "
echo -e " ${white}## ### ## ###### ${red} ## #### ## ## "
echo -e " ${white}## ## ## ${red} ## ## ######### "
echo -e " ${white}## ## ## ${red} ## ## ## ## "
echo -e " ${white}## ## ######## ${red} ###### ## ## "
echo ""
echo -e " By [${white}M1R47${red}] "
echo -e " Github [${white}https://github.com/M1R47${red}] "
echo ""
echo "MEGA understands the importance of keeping data and conversations private " | lolcat
#================================
# cursor
#================================
#cual bucle 😹
#================================
# bucle
#================================
echo ""
echo -e "${red}┼${white}───────────────────────────────────${red}┼${white}"
echo ""
echo "Inicar descarga de mega " | lolcat
echo ""
echo -ne ${red}"┼─────────────┼
┼ ${white}guardar en ${red}┼
┼─────────────┼
┼
┼
┼->> "${white}
read ruta
echo ""
echo -ne ${red}"┼──────────────┼
┼ ${white}link de MEGA${red} ┼
┼──────────────┼
┼
┼
┼->> "${white}
read link
#================================
# descarga
#================================
echo ""
megadl --path "$ruta" "$link"
#================================
# hello
#================================
sleep 1
echo ""
echo " archivo descargado exitosamente :-) "
echo ""
echo -e "${red}┼${white}───────────────────────────────────${red}┼${white}"