Skip to content

josephma93/usbmount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

usbmount TUI

Minimal TUI to combine lsusb, lsblk, and a mount command in one place.

Run

# If you installed it:
usbmount

# Or run directly from the file:
python3 usbmount.py

Install (generic, no sudo)

Option 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
usbmount

Option 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

Keys

  • 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

About

TUI helper to mount/unmount USB storage on Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages