Update 2023-04-14 07:54 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-04-14 07:54:42 +02:00
parent 7d75e55065
commit 214c3ed2f7

View File

@ -1,6 +1,2 @@
#!/bin/sh #!/bin/sh
. $HOME/.bin/_config curl -s https://codevoid.de/1/p/all.dcgi | cut -d'"' -f2 | grep '^/' | xargs -n1 -I{} echo "https://codevoid.de{}" | less
ssh $USER@$DOMAIN "cd $RPATH/p && ls -tr1 | xargs file --mime-type" \
| awk -F'[ :]*' -v url="https://$DOMAIN" \
'{if ($2 ~ /^image/) { print url"/I/p/"$1 } else { print url"/0/p/"$1 }}'