dotfiles/.bin/dmark
2023-02-22 08:31:38 +01:00

9 lines
180 B
Bash
Executable File

#!/bin/sh
doas touch /var/cache/dmark
doas chmod 666 /var/cache/dmark
if [ -f "$1" ]; then
doas readlink -f "$1" > /var/cache/dmark
else
echo 'devmark: file not found.'
fi