Advertisement
karim0209

termux-file-editor codes

Aug 24th, 2023 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/bash
  2.  
  3. echo -e "Updating default packages\n"
  4. apt update && apt -y upgrade
  5.  
  6. echo -e "Requesting acces to storage\n"
  7. termux-setup-storage
  8. sleep 5
  9.  
  10. echo -e "Installing imagemagick\n"
  11. pkg install -y imagemagick
  12.  
  13. echo -e "Installing ghostscript\n"
  14. pkg install -y ghostscript
  15.  
  16. echo -e "Installing qpdf\n"
  17. pkg install -y qpdf
  18.  
  19. echo -e "Creating bin directory\n"
  20. mkdir ~/bin
  21.  
  22. echo -e "Creating convertedFiles directory\n"
  23. mkdir ~/storage/shared/convertedFiles
  24.  
  25. echo -e "Downloading and installing termux-file-editor\n"
  26. wget https://pastebin.com/raw/2vQqY7bx -O ~/bin/termux-file-editor
  27. dos2unix ~/bin/termux-file-editor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement