# usb-main

> A program to maintain, update, and burn linux installation disks

Latest version **1.0.1** (published 2018-07-25) · 0 weekly downloads

## Install

```sh
npm install usb-main
pnpm add usb-main
yarn add usb-main
bun add usb-main
```

Provides the command `usb-main`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-07-25 |
| First published | 2018-07-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 12.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Nico Hickman |
| Maintainers | nicohman |

## Links

- npm: https://www.npmjs.com/package/usb-main
- npm.io page: https://npm.io/package/usb-main

## Dependencies (6)

- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.2
- [request](https://npm.io/package/request.md) ^2.87.0
- [progress](https://npm.io/package/progress.md) ^2.0.0
- [commander](https://npm.io/package/commander.md) ^2.16.0
- [easy-table](https://npm.io/package/easy-table.md) ^1.1.1
- [follow-redirects](https://npm.io/package/follow-redirects.md) ^1.5.1

## Recent versions

- 1.0.1 (latest) — 2018-07-25
- 1.0.0 — 2018-07-25
- 0.0.1 — 2018-07-25

## README

# usb-main
A nodejs-based tool that can automatically update and burn linux install disks.

## Available Distros 
Currently, there aren't many distos available, but pull requests to add distros are welcome.
- Manjaro i3 Community Edition
- Solus Budgie
- Ubuntu Desktop

## Usage

`usb-main --help` will return a list of commands: 
```
  Usage: usb-main [options] [command]

  Options:

    -V, --version                       output the version number
    -h, --help                          output usage information

  Commands:

    burn [options] <short> <interface>  Burn a distro to a specific partition
    sync [options]                      Sync all local copies of isos
    list                                List all configured distros
    update [options]                    Update and burn all configured distros to the configured partitions

```

## Configuration

All Configuration is done in `~/.config/usb-main/config.json`. Here's an example file:
```
{
		"partitions":{
			"manjaro":"/dev/sde"
		},
		"enabled":["manjaro"]
}
```

Partitions defines what partitions distros get burnt to when running `update`. Please be **extremely** careful when using this option, as misusing it could wipe a drive you didn't want it to. Enabled is an array of distro names that controls which distros get synced and burnt.

---
_Source: https://npm.io/package/usb-main · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
