file-converter
# file-converter
File format utility — pretty-print or minify JSON, encode/decode URLs, hex dump files, detect file types, and show file statistics.
## Commands
### `pretty-json`
```bash
scripts/script.sh pretty-json
```
### `minify-json`
```bash
scripts/script.sh minify-json
```
### `url-encode`
```bash
scripts/script.sh url-encode
```
### `url-decode`
```bash
scripts/script.sh url-decode
```
### `hex`
```bash
scripts/script.sh hex
```
### `detect`
```bash
scripts/script.sh detect
```
### `stats`
```bash
scripts/script.sh stats
```
### `help`
```bash
scripts/script.sh help
```
### `version`
```bash
scripts/script.sh version
```
## Examples
```bash
scripts/script.sh pretty-json
scripts/script.sh minify-json
scripts/script.sh help
```
## Configuration
| Variable | Required | Description |
|----------|----------|-------------|
| `FILE_CONVERTER_DIR` | No | Data directory (default: `~/.file-converter/`) |
## Data Storage
All data saved in `~/.file-converter/`. Runs entirely on your machine.
## Requirements
- bash 4.0+
- Standard Unix tools (grep, sed, awk)
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
标签
skill
ai