I'm looking for a method to change USB or External Drive Icon using bash or any other command line method. I know how to manually chnage them like this
I am using El Capitan
bashcommand linemacosterminal
I'm looking for a method to change USB or External Drive Icon using bash or any other command line method. I know how to manually chnage them like this
I am using El Capitan
Best Answer
You need to copy the
.icns
file to the root folder of the volume. The new file needs to be named.VolumeIcon.icns
. For example, if you are using a Bash shell, have the filevol_external.icns
and destination/Volumes/MyStick
, then below would be the command.To get a directory listing for this copied file, you may need to include the
-a
option in thels
command line. For example, the commandwill not display the file
.VolumeIcon.icns
, but the commandwill show the file.