Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # ImPerial TeK Solutions (ITS)
- # Copyright (c) 2018 v1ral <ImPerialTeKSolutions@outlook.com>
- S='sudo'
- CMD='find'
- C='cp'
- M='mv'
- ME=$USER
- TYPE=$(zenity --title "File Type" --entry --text "What File Type Ext. Are We Looking For? " )
- DEST=$(zenity --title "Destination Folder" --entry --text "What Will The Destination Folder Be, <Only Folders In Your Home Directory user= "$ME" >? " )
- $TYPE; $DEST
- #########
- # START #
- #########
- echo -e "AVALIABLE_OPTIONS: \n1) To Find And <COPY> All The <$TYPE> Files To <$DEST> , Choose This Option. \n2) To Find And <MOVE> All The <$TYPE> Files To <$DEST> , Choose This Option. "
- read OPTS
- case $OPTS in
- 1) $S $CMD / -iname '$TYPE' -exec $C {} /home/$ME/$DEST/ \; ;;
- 2) $S $CMD / -iname '$TYPE' -exec $M {} /home/$ME/$DEST/ \; ;;
- esac
- echo -e $gray"OPTIONS: \n1) Send Us Feedback \nOr Inquire About A Script Made For You! \n2) No Thanks, Im Done! "
- read nn
- case $nn in
- 1) read -p "Hit [E]nter & Copy Email, Hit [E]nter After To Bring Up Your Browser"; read -p "ImPerialTeKSolutions@outlook.com"; sleep 3; x-www-browser www.gmail.com;;
- 2) echo "$orange If You Ever Change Your Mind \nPlease Feel Free To Email Us Anytime @ \nImPerialTeKSolutions@outlook.com, THANKS! "
- esac
- #######
- # END #
- #######
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement