File: mk

package info (click to toggle)
star 1.5a67-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,600 kB
  • ctags: 4,715
  • sloc: ansic: 37,601; sh: 3,198; makefile: 200
file content (46 lines) | stat: -rwxr-xr-x 3,936 bytes parent folder | download | duplicates (2)
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
#!/bin/sh

cat <<!
Die File- und Directorynamen sind alle so ausgerechnet, dass
Du "_*" als Argument nehmen musst, und nicht "."

bmz
!

mkdir -p ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/_______________+160/_______________+180/_______________+200/_______________+220/_______________+240/_______________+260
for d in `find *+020 -type d -print` ; do
	echo 015 >$d/___________014
done
mkdir -p ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/________+153
mkdir -p ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/_________+154
mkdir -p ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/__________+155
mkdir -p ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/___________+156

echo 099 >________________________________________________________________________________________________099
echo 100 >_________________________________________________________________________________________________100
echo 101 >__________________________________________________________________________________________________101
mkdir ______________________________________________________________________________________________D_099
mkdir _______________________________________________________________________________________________D_100
mkdir ________________________________________________________________________________________________D_101
mkdir _______________________________________________________________________________________________________________________________________________________154
mkdir ________________________________________________________________________________________________________________________________________________________155
mkdir _________________________________________________________________________________________________________________________________________________________156
cp *__099 *__100 *__101 *D_099
cp *__099 *__100 *__101 *D_100
cp *__099 *__100 *__101 *D_101
cp *__099 *__100 *__101 *154
cp *__099 *__100 *__101 *155
cp *__099 *__100 *__101 *156

cp *__099 *__100 *__101  ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/________+153
cp *__099 *__100 *__101  ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/_________+154
cp *__099 *__100 *__101  ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/__________+155
cp *__099 *__100 *__101  ________________+020/_______________+040/_______________+060/_______________+080/_______________+100/_______________+120/_______________+140/___________+156

mkdir -p _004/____________________________________________________________________________________________________________________________________________________151
echo 004 >_004/____________________________________________________________________________________________________________________________________________________151/_004
mkdir -p ______________________________________________________________________________________+090/____________________________________________________________+155
mkdir -p ______________________________________________________________________________________+090/_____________________________________________________________+156
for d in *090/* ; do
	echo 040 >$d/_____________________________________040
done