3 ms·
I have a script that changes the Terminal to the directory of the frontmost Finder window. Then I use touch to create empty new files. The script, for whoever'
by jcfields 5y ago
I have a script that changes the Terminal to the directory of the frontmost Finder window. Then I use touch to create empty new files.
The script, for whoever's curious: https://gitlab.com/jcfields/shell-scripts/-/blob/master/cdf https://gitlab.com/jcfields/shell-scripts/-/blob/master/cdf
Back when I used Windows, I actually used the New > Text Document item discussed in the article all the time. It created an empty, 0-byte file, so I'd rename it to whatever file extension I needed. There was a folder that contained the templates for this menu so you could add or remove blank files for any type, but I only ever used the .txt file one.