Is it possible to create files directly in Folders? [duplicate]

AFAIK, you can't do it directly through the macOS GUI like in Windows, w/o any customizations.

You can use the Terminal* app (Cmd+Space to open Spotlight, then type terminal), by typing cd, then drag and drop the folder to it to get the whole file path; finally type touch my newfile.docx.

e.g.

cd /path/to/file
touch newfile.docx

many other alternative solutions here

* coming from the Windows world, terminal it's like the cmd.exe (Command Prompt)


Since macOS does not have this type of context menu to simply add a New File of a certain type which is pre-filled with the required information, the closest you can do is an approach similar to what GNOME under Linux has:

  • Create a Templates folder (it does not need to be called “Templates” though) which is easily accessible to you (maybe add it to the side panel of Finder afterwards)
  • then open Word and without starting to type or change anything, save that empty file to your templates folder as a regular document (e.g. as “.docx”, not “.dotx” as this would be Word’s own way of storing templates and is not what you wanted)

Now, whenever you need to place multiple files of the same type, visit your templates folder, copy that file, navigate where you like to place them and paste them in the number of times you need them. Then rename the new files to the names of choice.

Other applications behaving in a similar manner (meaning being able to store files at custom locations) can be done in the same fashion.

No programming (adding services) or command line knowledge (using bash) is required with this solution.