FG
💻 Software

Setting folder icon in Mac OS X 10.6 via command-line?

Fresh5 days ago
Mar 15, 20263371 views
Confidence Score0%
0%

Problem

I have a file.icns that I would like to set as custom icon for a folder. How can I do it from a script/command-line? The script is executed in the postinstall phase of a package installer. The language of the script can be any of the script languages supported by the package-maker (bash,perl,apples…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting folder icon in Mac OS X 10.6 via command-line?

Low Risk

I found this (I did not test, but appears to be what you want): http://hasseg.org/stuff/assignIconScript/assignIcon

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment