-
Notifications
You must be signed in to change notification settings - Fork 12
/
backup.sh
executable file
·32 lines (32 loc) · 1.34 KB
/
backup.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
#!/bin/sh
chmod -x `find . -executable -name "*.class"` 2> /dev/null
chmod -x `find . -executable -name "*.java"` 2> /dev/null
chmod -x `find . -executable -name "*.tmpl"` 2> /dev/null
chmod -x `find . -executable -name "*.asm"` 2> /dev/null
chmod -x `find . -executable -name "*.pas"` 2> /dev/null
chmod -x `find . -executable -name "*.tcl"` 2> /dev/null
chmod -x `find . -executable -name "*.pyc"` 2> /dev/null
chmod -x `find . -executable -name "*.lua"` 2> /dev/null
chmod -x `find . -executable -name "*.zip"` 2> /dev/null
chmod -x `find . -executable -name "*.tst"` 2> /dev/null
chmod -x `find . -executable -name "*.txt"` 2> /dev/null
chmod -x `find . -executable -name "*.p4"` 2> /dev/null
chmod -x `find . -executable -name "*.py"` 2> /dev/null
chmod -x `find . -executable -name "*.c"` 2> /dev/null
chmod -x `find . -executable -name "*.h"` 2> /dev/null
echo -n `cd misc/trackmap;./d.sh`
echo -n `cd misc/android;./d.sh`
echo -n `cd misc/gallery;./d.sh`
echo -n `cd misc/applet;./d.sh`
echo -n `cd misc/p4lang;./d.sh`
echo -n `cd misc/player;./d.sh`
echo -n `cd misc/temper;./d.sh`
echo -n `cd misc/mailer;./d.sh`
echo -n `cd misc/paster;./d.sh`
echo -n `cd misc/motion;./d.sh`
echo -n `cd misc/voice;./d.sh`
echo -n `cd misc/rfcs;./d.sh`
echo `cd src;./d.sh`
rm ipv*.mrt 2> /dev/null
rm rtr.zip 2> /dev/null
zip -r rtr.zip src cfg misc *.sh *.txt *.md >/dev/null