-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckFiles
More file actions
75 lines (67 loc) · 1.61 KB
/
checkFiles
File metadata and controls
75 lines (67 loc) · 1.61 KB
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
66
67
68
69
70
71
72
73
74
75
#!/bin/bash
scriptPath="$1"
if [[ -d "./02_Title" ]]; then
cd "./02_Title"
for i in *; do
if [[ -d "./$i" ]]; then
cd "./$i"
if [[ -d "./_Images" ]]; then
cd "./_Images"
bash ${scriptPath}checkImages
cd ..
fi
if [[ -d "./_Motions" ]]; then
cd "./_Motions"
bash ${scriptPath}checkMotions
cd ..
fi
bash ${scriptPath}checkAE
cd ..
fi
done
cd ..
fi
if [[ -d "./03_Social" ]]; then
cd "./03_Social"
for i in *; do
cd "./$i"
if [[ -d "./_Images" ]]; then
cd "./_Images"
bash ${scriptPath}checkImages
cd ..
fi
if [[ -d "./_Motions" ]]; then
cd "./_Motions"
bash ${scriptPath}checkMotions
cd ..
fi
bash ${scriptPath}checkAE
cd ..
done
cd ..
fi
if [[ -d "./04_Worship Background/_Motions" ]]; then
cd "./04_Worship Background/_Motions"
bash ${scriptPath}checkMotions
cd ../../
fi
if [[ -d "./05_Ultra Wide/_Motions" ]]; then
cd "./05_Ultra Wide/_Motions"
bash ${scriptPath}checkMotions
cd ../../
fi
if [[ -d "./06_Countdown/_Motions" ]]; then
cd "./06_Countdown/_Motions"
bash ${scriptPath}checkMotions
cd ../../
fi
if [[ -d "./07_Trivia/_Motions" ]]; then
cd "./07_Trivia/_Motions"
bash ${scriptPath}checkMotions
cd ../../
fi
if [[ -d "./08_Bumper/_Motions" ]]; then
cd "./08_Bumper/_Motions"
bash ${scriptPath}checkMotions
cd ../../
fi