Remove Mac localization files

From xoa

Jump to: navigation, search

From Marcel GrĂ¼nauer's Twitter:

Freed up 3 GB by removing non-English localization resource files with the following command:
find / \! -name 'English.lproj' \! -name 'en.lproj' -name '*.lproj' -type d -exec rm -rf -- {} \; -prune

Make sure it's finding the right files, first:

find / \! -name 'English.lproj' \! -name 'en.lproj' -name '*.lproj' -type d -print -prune
Personal tools