This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pdf2jpg.sh ./*.pdf | |
rm -f ./*.pdf | |
dir2pdf.sh ./* | |
find ./ -type d | grep -v './$' | xargs rm -rf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./ -type f \ | |
| grep ':' \ | |
| awk '{printf("mv \"%s\"", $0);gsub(":", "_", $0);printf(" \"%s\"\n",$0)}' \ | |
| sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
OSVERSION="OPENBSD_"`uname -r | sed 's/\./_/g'` | |
CVSROOT="[email protected]:/cvs" | |
export CVSROOT | |
echo $OSVERSION | |
cd /usr/ports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
OSVERSION="OPENBSD_"`uname -r | sed 's/\./_/g'` | |
CVSROOT="[email protected]:/cvs" | |
export CVSROOT | |
echo $OSVERSION | |
cd /usr/src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ARCH=`arch -s` | |
KTYPE=GENERIC.MP | |
cd /usr/src/sys/arch/${ARCH}/conf | |
/usr/sbin/config ${KTYPE} | |
cd /usr/src/sys/arch/${ARCH}/compile/${KTYPE} | |
make clean && make depend && make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ARCH=`arch -s` | |
KTYPE=GENERIC.MP | |
cd /usr/src/sys/arch/${ARCH}/compile/${KTYPE} | |
make install && make clean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
rm -rf /usr/obj/* | |
cd /usr/src | |
make obj | |
cd /usr/src/etc | |
env DESTDIR=/ make distrib-dirs | |
cd /usr/src | |
make build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
rm -f $HOME/.netrc | |
cat <<EOF > $HOME/.netrc | |
machine 192.168.116.56 | |
login anonymous | |
password '' | |
EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
rm -f /usr/share/autostart/nepomukserver.desktop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
case $1 in | |
start|stop) | |
rm -f /usr/share/autostart/nepomukserver.desktop | |
;; | |
status) | |
ls -alF /usr/share/autostart/nepomukserver.desktop | |
;; | |
*) |