Convert file/directory path to glob pattern.
github.com/azu/path-to-glob-pattern
azu/path-to-glob-pattern