Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeroggenbuck/format-filename
Format filenames to a command-line friendly format
https://github.com/jakeroggenbuck/format-filename
Last synced: 5 days ago
JSON representation
Format filenames to a command-line friendly format
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/format-filename
- Owner: JakeRoggenbuck
- License: mit
- Created: 2024-01-17T07:40:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-17T07:58:28.000Z (10 months ago)
- Last Synced: 2024-01-17T15:23:59.936Z (10 months ago)
- Language: Rust
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Format filename
Format filenames to a command-line friendly format![image](https://github.com/JakeRoggenbuck/format-filename/assets/35516367/02a60dc3-a694-4dd4-8976-d269940727c9)
## Why?
I often find myself in the command-line running programs like [Neovim](https://neovim.io/) (aliased to `v`) on text files or [Zathura](https://github.com/pwmt/zathura) on PDF files.
I usually name files with underscores, as it's easier to type out than a space when using the command-line. Similarly, I often don't use slashes, parentheses, or any other character that needs to be [excaped](https://en.wikipedia.org/wiki/Escape_character) for the reason of not having to type out more than needed. However, not all files are named this way by default, so this program makes it easier to change it quickly. It's also a good excuse to write something in [Rust](https://www.rust-lang.org/) ( :crab: ).## Usage
```
formatfilename 0.1.0
Format filenames to a command-line friendly formatUSAGE:
formatfilenameFLAGS:
-h, --help Prints help information
-V, --version Prints version informationARGS:
Input file
```