Update 2024-12-22 19:14 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-22 19:14:43 +01:00
parent e304b53c34
commit 7948d7cd1d

11
.bin/osmc Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
case $1 in
cp) shift; scp -r $@ osmc:/media/USBDisk/ ;;
df) ssh osmc "df -h /media/USBDisk/" ;;
ls) ssh osmc "cd /media/USBDisk/ && ls -1 | grep -v lost+found" ;;
lls) ssh osmc "cd /media/USBDisk/ && ls -lh | grep -v lost+found" ;;
rm) shift; ssh osmc "cd /media/USBDisk/ && rm -v $@" ;;
*) echo "available commands: df, ls, lls, cp <file>, rm <file>" ;;
esac