AppleScript: Show GarageSale database folder

This is a simple script that needs to be run in Apple’s “Script Editor” application.
It lets you select the GarageSale database folder you want to highlight in Finder.
This is especially helpful if you have multiple versions of GarageSale databases and use macOS 11 or higher.

select GarageSale version

Some background:
Since macOS 11 the Finder renames the GarageSale database folder from “com.iwascoding.garagesale9” to just “GarageSale”.
If you are a long-time GarageSale user you also might have a database folder from GarageSale 7 (“com.iwascoding.garagesale7”) and from GarageSale 8 (“com.iwascoding.garagesale8”). All these are just called “GarageSale” in the Finder which makes it hard to identify them.
This script helps you to find the correct database folder.


  • Even if you don’t have a GarageSale 7, 8 or 9 database folder, the script will show the prompt anyways.
  • To learn more about how to deal with your GarageSale database(s), please see the “Advanced” section of the FAQs on the GarageSale website!
  • Don’t touch your GarageSale database if you don’t know what you are doing or if you don’t have a backup!
-- Show GarageSale database folder
set theGSChoices to {"GarageSale 7", "GarageSale 8", "GarageSale 9"}
set theSelectedGSVersion to choose from list theGSChoices with prompt "The database folder of which GarageSale version do you want to show in Finder?:" default items {"GarageSale 9"}

	if theSelectedGSVersion is false then return -- catch if nothing is selected
	set theSelectedGSVersion to item 1 of theSelectedGSVersion -- flatten the list
	if theSelectedGSVersion is "GarageSale 9" then
		set gsDatabase to "com.iwascoding.garagesale9"
	else if theSelectedGSVersion is "GarageSale 8" then
		set gsDatabase to "com.iwascoding.garagesale8"
	else if theSelectedGSVersion is "GarageSale 7" then
		set gsDatabase to "com.iwascoding.garagesale7"
		display dialog "No GarageSale database found"
	end if
	do shell script "open -R ~/Library/Containers/" & gsDatabase
on error errMsg
	display dialog "Error: " & errMsg

end try

This is the script as a zip file:
Show GarageSale database (3.1 KB)

Great idea. That will make it easier.