Hey everyone! I'm getting used to macOS as a developer, and I've noticed it's a bit tricky to create new text files directly from Finder. On KDE and Windows, there's a straightforward right-click option to create a new text file, but I can't seem to find that on my Mac. Right now, I usually end up using Terminal to create a new file with the command 'touch somefile.txt', which isn't the best way to work. Any tips on how to make this easier?
2 Answers
I found a great article that explains different methods to create files on macOS. It mentions using an Apple script to automate the process and also highlights some apps that can help. Just keep in mind that some of the info might be outdated, but it's worth checking out!
You can open TextEdit, create a new file, and then type your content there. After that, just select all with Cmd+A, then use Cmd+Shift+T to save it as a text file. It's not the most elegant solution since it requires opening another app, but it's one way to get it done!
Thanks for the tip! I see how that could work, but I prefer not having to switch apps every time.
That sounds promising! I'll definitely check it out, thanks!