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
-
-
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 Folder too 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.
- Script that lets you jump to any folder you like in an instant, works exactly like the
-
-
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.
-
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 iTerm and change directory to the current location in Finder. Super useful if you are on the command-line a lot.