简体   繁体   中英

Change all file icons with same type [Yosemite]

I have many excel files in my computer, and the icon of all of them are plain paper, like this:在此处输入图片说明

I want all icons to be .numbers icon. Do anyone know how to do that ?

Here's what you could do :

  • Open a Finder window and navigate to /Applications/
  • Find the app whose file icon you want to change
  • Right click it and select "Show Package Contents"
  • Navigate to Contents/Resources/ and find the appropriate icon file. Replace it with your new icon file.
  • Restart your computer to update the icon cache.

Or you can change the default app for a file type and set all files of that type to be associated with the default app if that's what your question says:

  • Open a Finder window and locate the file type you want to change.
  • Push Command+i or go to File > Get Info
  • Under "Open With" select the app you like. You have just changed the default app for that individual file.
  • To change the default for all files of that type, push the "Change All" button and then "Continue"

This will make all your excel files to open with numbers while the previous one will just change the icon

Here is a simple solution that works all times:

  1. Find the file with icon that you want to apply for (ex: *.numbers file), then Command + i to open it's info Panel

  2. Find the file you want to apply the icon for (ex: your *.xlsx) file. then Command + i to open it's info Panel

  3. Now that you have your two file's info panel side by side, you can drag the icon from the first file's panel ( only from header/title bar ) and apply it to a second file's panel, as shown: 您必须将图标放在第二个图标上才能使其工作 (you must place the icon over the second icon to make it work, I didn't make it overlap just for taking a clear screenshot)

  4. Open a champagne and celebrate!

To change the file icon on all you files icons with the same extension:

  • open Get Info panel file 1, that you want to change
  • open Get Info panel file 2, that you want to change to
  • drag and drop icon from panel file 1 to panel file 2
  • click Change All...
  • with Finder open "Show View Options" or command + J
  • drag Icon size as you wish. This force icons cache rebuild

You have to empty your cache for icons after you have changed the icon or switched the file association program. Not sure the exact filename, but use it to empty both cache folders. ~/Library/Caches and /Users/User/Library/Caches

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM