postgresql/src/tools/make_mkid

8 lines
182 B
Plaintext
Raw Normal View History

1997-09-08 06:19:50 +02:00
#!/bin/sh
find `pwd`/ -type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid -S.gen=C -
find . -type d -print |while read DIR
do
[ "$DIR" != "." ] && ln -f -s `pwd`/ID $DIR/ID
done