#folders #create #path #file-path #quickly #folder #relative-path

app newfile

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

1 unstable release

0.1.0 Oct 11, 2022

#20 in #folders

MIT license

6KB
98 lines

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

Dependencies

~1.1–1.7MB
~31K SLoC