-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup_dirs.sh
executable file
·65 lines (65 loc) · 1.35 KB
/
setup_dirs.sh
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
echo "Making Directories..."
if [ ! -d "screenshots" ];
then
mkdir screenshots
fi
echo "First, the RDP directories..."
if [ ! -d "screenshots/rdp/raw" ];
then
mkdir -p screenshots/rdp/raw
fi
if [ ! -d "screenshots/rdp/jpg" ];
then
mkdir -p screenshots/rdp/jpg
fi
echo "Now for VNC directories..."
if [ ! -d "screenshots/vnc/raw" ];
then
mkdir -p screenshots/vnc/raw
fi
if [ ! -d "screenshots/vnc/jpg" ];
then
mkdir -p screenshots/vnc/jpg
fi
echo "Now for FTP directories..."
if [ ! -d "screenshots/ftp/raw" ];
then
mkdir -p screenshots/ftp/raw
fi
if [ ! -d "screenshots/ftp/jpg" ];
then
mkdir -p screenshots/ftp/jpg
fi
echo "Now for X11 directories..."
if [ ! -d "screenshots/x11/raw" ];
then
mkdir -p screenshots/x11/raw
fi
if [ ! -d "screenshots/x11/jpg" ];
then
mkdir -p screenshots/x11/jpg
fi
echo "Now for telnet directories..."
if [ ! -d "screenshots/telnet/raw" ];
then
mkdir -p screenshots/telnet/raw
fi
if [ ! -d "screenshots/telnet/jpg" ];
then
mkdir -p screenshots/telnet/jpg
fi
if [ ! -d "screenshots/telnet/text" ];
then
mkdir -p screenshots/telnet/text
fi
echo "Now for mainframe directories..."
if [ ! -d "screenshots/3270/raw" ];
then
mkdir -p screenshots/3270/raw
fi
if [ ! -d "screenshots/3270/jpg" ];
then
mkdir -p screenshots/3270/jpg
fi
echo "done..."