Advertisement
v1ral_ITS

easy 7zip add/create new archive or extract TERMINAL SHELL SCRIPT

Aug 13th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.53 KB | None | 0 0
  1. #!/bin/bash
  2. ####################################
  3. #                    
  4. # START                
  5. # g0ne_@p0stal <v1ral_ITS>        
  6. # ImPerialTeKSolutions@outlook.com
  7. #                  
  8. ####################################
  9. echo "          #              #      "
  10. echo "          ################    ####"
  11. echo "          ################    ####"
  12. echo "          ################     ##"
  13. echo "                         #"
  14. echo "             #################"
  15. echo "          ####################"
  16. echo "          ####################"
  17. echo "          ##             #"
  18. echo "          ##"
  19. echo "            #"
  20. echo "          ####      ## "
  21. echo "          ####    ###### "
  22. echo "          ##     ######## "
  23. echo "          #     ####     #"
  24. echo "          #     ####     #"
  25. echo "          #     ####    ##"
  26. echo "          #    ####    ## "
  27. echo "           ########   ####"
  28. echo "            #####"
  29. echo " v1ral_ITS"
  30. echo " https://pastebin.com/u/v1ral_ITS"
  31. echo " ImPerialTeKSolutions@outlook.com"
  32. sleep 3
  33.  
  34. read ADD_EXT < <( zenity --title "Add/Create Or Extract" --width=560 --text " Add - [a] or Extract - [x] " --forms --add-entry "ANSWER:" )
  35. read ITS_LIST < <( \ls . | zenity --title "Choose File From Current Direcotry" --list --column "ImPerial TeK. Solutions {v1ral_ITS}" --width=1000 --height=200 )
  36. if [[ $ADD_EXT == a ]]; then
  37.     read ADD_FILE < <( zenity --title "Add Files To Archive" --width=560 --text " Name The .7z File " --forms --add-entry "NAME:" )
  38.     7z a $ADD_FILE ./$ITS_LIST
  39. fi
  40. if [[ $ADD_EXT == x ]]; then
  41.     7z x ./$ITS_LIST
  42. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement