Skip to content

Latest commit

 

History

History

Finder

Finder scripts

Various scripts for use in Finder.

Although not needed, the shortcut keys I use to execute these via Keyboard Maestro or Alfred are included in case you're interested

Contents

  • Copy Path as AliasC

    • Copies the current Finder selection as a alias for scripting

    • Result looks like

      "Macintosh HD:Users:kevinfunderburg:Desktop:README.md" as alias
  • Go to Custom Foldertoo many to list

    • Script that lets you jump to any folder you like in an instant, works exactly like the Finder > Go menu, but you add your favorite folders.
    • I use this script for about 8 different folders that I'm constantly in and out of.
    • How to - Duplicate the script for each folder you want, and update the t variable to the HFS path of the folder you want.
  • Monthly Cleanups

    • Clean up old files in ~/Downloads or ~/Desktop by consolidating files > 2 weeks old into a folder with a path like ~/Desktop/Cleanups/[year]/[month].[year] - Monthly Cleanups.

    • I've used this method for years to keep these folders tidy and I love it, here's an example of what the result looks like. folderClean

    • I generally use Hazel to execute this script automatically, but it can be run via the Script Menu, or through the command line using

      osascript 'Monthly Cleanups.scpt' "desktop"
  • Open Selection in iTermT

    • Open iTerm and change directory to the current location in Finder. Super useful if you are on the command-line a lot. demo