This file contains 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
import struct | |
import time | |
import hid | |
import sys | |
import argparse | |
# | |
# Constants | |
# |
This file contains 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/bash | |
usage="$(basename "$0") [-h] mountpoint nfs_server:directory" | |
while getopts ":h" opt; do | |
case $opt in | |
h) | |
echo $usage >&2 | |
exit 1 | |
;; |