linux-target-disk-menu

1.2.0 • Public • Published

linux-target-disk-menu

prints a list of linux block devices (disks, USB sticks, etc) along with their partitions and lets the user select one (or quit). If a device was selected, outputs its device path (/dev/xxx) to stdout (all user interaction is on stderr). Exit code is zero if a device was selected, otherwise it's 1.

Meant to be used in shell scripts.

/linux-target-disk-menu/

    Package Sidebar

    Install

    npm i linux-target-disk-menu

    Weekly Downloads

    2

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    3.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • regular