# gathered

> A tool for organizing files. 🧩⚖️

Latest version **0.0.2** (published 2023-12-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install gathered
pnpm add gathered
yarn add gathered
bun add gathered
```

Provides the commands `gather`, `ungather`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-12-07 |
| First published | 2023-12-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 23.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Adebola Akomolafe |
| Maintainers | adebolaxyz |
| Keywords | cli, bundler, gathered, filesystem, typescript |

## Links

- npm: https://www.npmjs.com/package/gathered
- Repository: https://github.com/adebola-xyz/gathered
- Homepage: https://github.com/adebola-xyz/gathered#readme
- Issues: https://github.com/adebola-xyz/gathered/issues
- npm.io page: https://npm.io/package/gathered

## Dependencies (2)

- [colors](https://npm.io/package/colors.md) ^1.4.0
- [@types/node](https://npm.io/package/@types/node.md) ^20.10.4

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2023-12-07
- 0.0.1 — 2023-12-07
- 0.0.0 — 2023-12-07

## README

# gathered

Gathered is a simple command line tool for organizing (and disorganizing) the files in a directory.

## Usage

Install the tool globally using

```
npm install -g gathered
```

Simply pass in the path to the folder to sort:

```
gather ./disorganized
```

The default strategy is to sort files according to extension. For other grouping strategies, peruse the [options](./docs/options.md).

You can also use the `ungather` command to unroll a set of subfolders into the main folder.

```
ungather ./nested
```

This will take files in the subfolders and move them to the main folder.

_NOTE_: By default, it will only unroll the first level of files. To return all the files nested deep, you can use the `--recursive=true` option.

The target folder can be changed with the `--target` option.
For more about the available command line options, peruse the [options](./docs/options.md).

## Development

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run source/index.ts
```

This project was created using `bun init` in bun v1.0.15. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

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