Homepage
Recent Changes
Search:
History of 2016-07-25 Making directories on the fly
2016-07-25
20:36 UTC
Revision 1
. . . .
Marcin Borkowski
–
Today, a friend asked me how to create a directory – or a hierarchy of them – while finding a file in a nonexistent directory. I found some clues on the ‘net, but the best one used the old advice mechanism. So I decided to do it myself, based on the hints found. It turned out to be simpler than I thought; it’s made even easier by the fact that Elisp’s make-directory function acts basically like mkdir -p when given non-nil second (optional) argument.