- Dirf is simple command line utility to make multiple,nested, recursive directory and files inside them
- Paths can be passed as arguments
$ dirf a/b+c/d+e a/b/c
-Paths can be passed from standard input$ dirf --noArgs
- Here d and e are files and rest are directories.
- Below command will create a nested directory like this
$ dirf a/b+c/d+e
- Run
go build -o dirf
- Move executable in the user binary folder for global uses.
a/
will create a directoryb
will create a file.a/b
will create a fileb
inside directorya
.a/b+c/
will create a directoryb
andc
inside directorya
a/b+c
will create a fileb
andc
inside directorya
a/$.component.jsx+$.styles.css ---> a/a.component.jsx a/a.styles.css
$ will replaced by parent name
- Rewritten in go
- can pass multiple paths
- can use $ expansion
- have help menu (-h,--help)
- This is improved version of previous dirf which is written in python.
- Try to cleanup code
- I will try to add more features.