Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keturiosakys/newfile
Create files and folders quickly from your shell
https://github.com/keturiosakys/newfile
Last synced: 24 days ago
JSON representation
Create files and folders quickly from your shell
- Host: GitHub
- URL: https://github.com/keturiosakys/newfile
- Owner: keturiosakys
- License: mit
- Created: 2022-10-01T23:40:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T19:32:31.000Z (about 2 years ago)
- Last Synced: 2024-08-09T20:29:43.127Z (3 months ago)
- Language: Rust
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# newfile (or simply n) - create files and folders quickly
Create files and folders quickly with relative paths. It's like [Sublime's AdvancedNewFile](https://github.com/SublimeText/AdvancedNewFile) plugin but for your terminal.
## Install
```bash
cargo install newfile
```## Usage
```bash
n [path to file or folder]
```### Example
Simply type the path along with the desired file name and extension. If the specified directories do not exist, `n` will create them automatically.
```bash
n the_spy/who_came_in_from_the_cold.txt
``````
the_spy/
└── who_came_in_from_the_cold.txt
```You can also chain multiple folders or files by simply separating them with spaces.
```bash
n project_final.txt project_final_final.txt project_really_final.txt
``````
project_final.txt
project_final_final.txt
project_really_final.txt
```