Feature Requests for TotalFinder (Open in Terminal, Create New File)

I would like to suggest two features that shouldn’t be hard to implement and would provide great value.

  • Open in Terminal (folder)
    I am using Terminal quite often on my work Mac and to copy the path, switching to Terminal, pasting the path and cd-ing into the directory is quite a lot of work.

  • Create New File
    Sometimes you have to create a blank file, which becomes really annoying with macOS. Copy path, open Terminal, cd-ing into it and touch the file is not a great user experience.

Many thanks for your work,
Tobias Punke

You can create applescripts as apps and add them to the finder Toolbar and add them as services:

Open in Terminal:

tell application “Finder”
set myWin to window 1
set thePath to (quoted form of POSIX path of (target of myWin as alias))
tell application “Terminal” to activate
tell window 1 of application “Terminal”
do script "cd " & thePath
end tell
end tell

Create New File:

tell application “Finder”
try
display dialog “name of file:” default answer “”
set fileName to the text returned of result
if length of fileName = 0 then
set fileName to “new_file”
end if
set thisFolder to the target of the front window as alias
set newFile to fileName

   make new file at thisFolder with properties {name:newFile}

on error errMsg
display dialog (errMsg)
end try
end tell

This feature request has my vote! Most linux desktops have these as standard and as I use Linux as well, I miss these features when I’m back at my mac.

In the mean time I will investigate what sbt posted too.

Cheers.