-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
41 lines (35 loc) · 944 Bytes
/
install.sh
File metadata and controls
41 lines (35 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!bash/bin
BLUE='\033[36m'
GREEN='\033[32m'
touch log.txt
touch inputs.txt
echo -e "${BLUE}What is the address? -\033[0m "
read address
echo $address >> inputs.txt
echo -e "${BLUE}What is the username? -\033[0m "
read user
echo $user >> inputs.txt
echo -e "${BLUE}What is the password? -\033[0m "
read pass
echo $pass >> inputs.txt
echo -e "${BLUE}What is the source? -\033[0m "
read src
echo $src >> inputs.txt
echo -e "${BLUE}What is it going? -\033[0m "
read dest
echo $dest >> inputs.txt
sudo apt install pip
echo ""
echo -e "${GREEN}pip installed!\033[0m"
echo ""
sudo pip install paramiko
echo ""
echo -e "${GREEN}paramiko installed!\033[0m"
echo ""
echo -e "${BLUE}=========================================\033[0m"
echo -e "${BLUE}| ${GREEN}Alex's file mover install complete! ${BLUE}|\033[0m"
echo -e "${BLUE}=========================================\033[0m"
echo ""
sudo rm install.sh
sudo rm pbxInstall.sh
sudo rm README.md