-
Notifications
You must be signed in to change notification settings - Fork 19
/
compress.sh
executable file
·28 lines (22 loc) · 975 Bytes
/
compress.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
#!/bin/bash
python setup.py clear
ln -s 1.mon py4sci_mon
tar czvhf www/_static/py4sci_mon.tgz --exclude="*Solution*" py4sci_mon
zip -r9 www/_static/py4sci_mon.zip --exclude="*Solution*" py4sci_mon
rm py4sci_mon
ln -s 2.tue py4sci_tue
tar czvhf www/_static/py4sci_tue.tgz --exclude="*Solution*" py4sci_tue
zip -r9 www/_static/py4sci_tue.zip --exclude="*Solution*" py4sci_tue
rm py4sci_tue
ln -s 3.wed py4sci_wed
tar czvhf www/_static/py4sci_wed.tgz --exclude="*Solution*" --exclude="*ice_data*" py4sci_wed
zip -r9 www/_static/py4sci_wed.zip --exclude="*Solution*" --exclude="*ice_data*" py4sci_wed
rm py4sci_wed
ln -s 4.thu py4sci_thu
tar czvhf www/_static/py4sci_thu.tgz --exclude="*Solution*" py4sci_thu
zip -r9 www/_static/py4sci_thu.zip --exclude="*Solution*" py4sci_thu
rm py4sci_thu
ln -s 5.fri py4sci_fri
tar czvhf www/_static/py4sci_fri.tgz --exclude="*Solution*" py4sci_fri
zip -r9 www/_static/py4sci_fri.zip --exclude="*Solution*" py4sci_fri
rm py4sci_fri