Advertisement
karim0209

termux-file-editor code 24082023

Aug 24th, 2023 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/bash
  2.  
  3. name=$(echo $1 | grep -Eo '[^/]+$')
  4.  
  5. convert -quiet -density 30x30 -quality 30 ~/downloads/"$name" ~/storage/shared/convertedFiles/"$name"
  6.  
  7. rm ~/downloads/"$name"
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement