Minimal TUI to combine lsusb, lsblk, and a mount command in one place.
# If you installed it:
usbmount
# Or run directly from the file:
python3 usbmount.pyOption A: copy from your local machine (over SSH):
# local machine
scp /path/to/usbmount.py user@server:~/usbmount.py
# on the server
mkdir -p ~/.local/bin
cp ~/usbmount.py ~/.local/bin/usbmount
chmod +x ~/.local/bin/usbmount
usbmountOption B: download from GitHub:
curl -fsSL https://raw.githubusercontent.com/josephma93/usbmount/refs/heads/main/usbmount.py -o ~/usbmount.py
mkdir -p ~/.local/bin
cp ~/usbmount.py ~/.local/bin/usbmount
chmod +x ~/.local/bin/usbmount
usbmount- Up/Down or j/k: select USB partition
- Tab: switch focus between list and mountpoint input
- Type: edit mountpoint (or start typing to focus it)
- Enter: print command and exit (mount or umount auto-detected)
- q or Esc: quit