amaing terminal text edit
Sun Mar 23 2025 07:29:40 GMT+0000 (Coordinated Universal Time)
Saved by
@v1ral_ITS
this is a test
#!/bin/bash
dialog --inputbox "What is your username?" 0 0 2> ~/tmp/inputbox.tmp.$$
retval=$?
input=`cat ~/tmp/inputbox.tmp.$$`
rm -f ~/tmp/inputbox.tmp.$$
case $retval in
0)
echo "Your username is '$input'";;
1)
echo "Cancel pressed.";;
esac
##############################################################
# #
# Termux terminal dialog script for downloading music/videos #
# #
##############################################################
#!/bin/bash
dialog --inputbox "Type In Folder Destination In SDCARD" 0 0 2> ~/tmp/inputbox.tmp.$$
retval=$?
DST=`cat ~/tmp/inputbox.tmp.$$`
rm -f ~/tmp/inputbox.tmp.$$
dialog --inputbox "URL/mp3-mp4: " 0 0 2> ~/tmp/inputbox.tmp.$$
retval=$?
LRU=`cat ~/tmp/inputbox.tmp.$$`
rm -f ~/tmp/inputbox.tmp.$$
case $retval in
0)
youtube-dl -i -c --yes-playlist "$LRU" -o "/sdcard/$DST/%(title)s.%(ext)s";;
1)
echo -e "\nv1ral_ITS\nwww.pastebin.com/u/v1ral_ITS\n";;
esac
content_copyCOPY
Comments