A Touch-Like command of creating files
supported by braces
Now we can use all patterns expand by braces
to create files.
- Select
Creating File
inexplorer/context
- enter some pattern
- Press
enter
It will works like this:
$ touch a{1..3}.{js,css}
$ ls
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a1.css
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a1.js
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a2.css
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a2.js
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a3.css
-rw-r--r-- 1 noop staff 0B 7 12 15:34 a3.js
Tip: Check braces for patterns detials.
Update README
Added features braces support to create files
Enjoy!