-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgit-list.sh
31 lines (25 loc) · 1.32 KB
/
git-list.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
#!/bin/bash
# https://github.com/linkchecker/linkchecker
# array=($(ls -d */)) ; for i in "${array[@]}" ; do
# echo $i;
# linkchecker --check-extern --no-robots http://localhost:8000/$i
# done
start=$SECONDS
linkchecker --check-extern --no-robots http://localhost:8000/flat
linkchecker --check-extern --no-robots http://localhost:8000/bulma
linkchecker --check-extern --no-robots http://localhost:8000/chen
linkchecker --check-extern --no-robots http://localhost:8000/ngx
linkchecker --check-extern --no-robots http://localhost:8000/corona
linkchecker --check-extern --no-robots http://localhost:8000/desk
linkchecker --check-extern --no-robots http://localhost:8000/gentelella
linkchecker --check-extern --no-robots http://localhost:8000/kapella
linkchecker --check-extern --no-robots http://localhost:8000/kit
linkchecker --check-extern --no-robots http://localhost:8000/lte3
linkchecker --check-extern --no-robots http://localhost:8000/ngx
linkchecker --check-extern --no-robots http://localhost:8000/notika
linkchecker --check-extern --no-robots http://localhost:8000/tail
linkchecker --check-extern --no-robots http://localhost:8000/volt
linkchecker --check-extern --no-robots http://localhost:8000/wind
end=$SECONDS
#you can now either just print the difference:
echo "duration: $((end-start)) seconds."