newfile

newfile (n) - A very simple utility to create files and folders


License
MIT

Documentation

newfile (or simply n) - create files and folders quickly

Create files and folders quickly with relative paths. It's like Sublime's AdvancedNewFile plugin but for your terminal.

Usage

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.

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.

n project_final.txt project_final_final.txt project_really_final.txt
project_final.txt
project_final_final.txt
project_really_final.txt