A small exercise in Go.
Prints contents of a directory recursively in the same manner as tree does.
Clone the repo:
git clone https://github.com/JakobSachs/gotree
cd gotreeBuild:
go get JakobSachs/gotree
go build
and run:
./gotree
(Alternatively you can also just run directly via go run gotree.go)
Sofar only the only option is the depth of the file system tree to be printed:
./gotree -level 5 ~