aboutsummaryrefslogtreecommitdiff
path: root/source/blog/2015-03-22-back-up-os-x-app-icons.md
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-05-04 15:03:55 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-05-04 15:03:55 -0700
commitee374553f2ba385157eec9a816cf9b023fbfb18a (patch)
tree2972641f3de868f727f4210f97d461b4f4e1a2b5 /source/blog/2015-03-22-back-up-os-x-app-icons.md
parent301679861a2440a10c9eac746cec86459f445ef9 (diff)
downloadmy_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.tar.xz
my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.zip
process post metadata
Diffstat (limited to 'source/blog/2015-03-22-back-up-os-x-app-icons.md')
-rw-r--r--source/blog/2015-03-22-back-up-os-x-app-icons.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blog/2015-03-22-back-up-os-x-app-icons.md b/source/blog/2015-03-22-back-up-os-x-app-icons.md
index 7f9eec4b..53c73b06 100644
--- a/source/blog/2015-03-22-back-up-os-x-app-icons.md
+++ b/source/blog/2015-03-22-back-up-os-x-app-icons.md
@@ -1,15 +1,13 @@
---
-layout: post
title: "Back up OS X app icons"
date: 2015-03-22 16:58:50 -0700
-comments: true
-categories:
+date-display: March 22, 2015
---
OS X application icons are valuable assets, and it's interesting to see how they evolve over time. This is especially the case when we upgraded to OS X 10.10 Yosemite, when Apple and many design-aware third party developers overhauled (mainly flattened) their icons.
However, we lose all the old icons when we do a major OS upgrade. Technically they still live in Time Machine backups, but those are a pain to pull out. Therefore, I wrote a script just now to back up app icons of all applications living in `/Applications` (including those symlinked to `/Applications`, e.g., apps installed through `brew cask`) and its level-one subdirectories, and `/System/Library/CoreServices` (for `Finder.app` and such). Here's the script:
-```bash backup-app-icons
+```bash
#!/usr/bin/env bash
function app_version
{