basically mkdir -p
+ touch
brew install https://raw.githubusercontent.com/defeated/touchp/master/touchp.rb
touchp path/to/new/directory/file.ext
This will create any subdirectories that don't exist. if file.ext
exists it
will update the last modified date, otherwise it will create file.ext
go get github.com/defeated/touchp
go test -cover