Drag files from Finder

Drop files into your terminal to insert their paths

Drop files or folders on a terminal to insert their paths, quoted and ready.

TerminalSpace terminals, ready for a file to be dropped

How to use it

  1. Type the start of a command, such as cat.
  2. Drag one or more files or folders from Finder onto a terminal.
  3. Let go, and finish the command.

Paths are quoted for the shell when they need it, so spaces in a name are safe. They are separated by spaces and followed by one more, so you can keep typing.

Nothing runs until you press Return.

Good to know

  • It inserts the path. It does not change folder or upload the file.
  • Plain text dragged from other apps is inserted as it is, and text with line breaks may run.
  • To move terminals themselves, see drag and drop terminals.

Get TerminalSpace

Terminal workspaces for your Mac.