Advertisement
karim0209

termux-file-editor 11-10-2020

Oct 10th, 2020
1,873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.84 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/bash
  2. name=$(echo $1 | grep -Eo '[^/]+$')
  3.     cd /data/data/com.termux/files/home/storage/shared/Youtube-Jukebox
  4.     ls
  5.     echo -e "Enter folder name u want Entering Into the creating directory"
  6.     read folder
  7.     echo -e "please wait creating directory"
  8.     mkdir $folder-$(echo "$(date +%d-%A-%m-%B-%Y-%X%P)" | sed 's, ,-,g')
  9.     ls
  10.     read creatf
  11.     cd $creatf
  12.     echo -e "please wait .txt jukebox files downloading.... \n"
  13.     echo "--embed-thumbnail --no-part --no-warnings --no-mtime -o '$(pwd)/%(title)s -- %(uploader)s.%(ext)s' -f 140 -i --external-downloader aria2c --external-downloader-args '-c -x 16 -s 16 -k 1M --file-allocation=none'" > ~/.config/youtube-dl/config
  14.     cd ..
  15.     ls
  16.     while read file;do youtube-dl ytsearch:"$file jukebox";done < ~/storage/shared/Youtube-Jukebox/$name
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement