Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'That's too broad!!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
That's too broad!!
Authored by: bgg on Apr 21, '01 05:46:52AM
I tried this and there are some .lproj files which are needed for the system which aren't called "English.lproj". Removing them means reinstalling the system (which I've just done ...). Here's a much faster script (using sh this time) which is more selective, it just removes the listed set of language files:
df /
date
for L in French Dutch Spanish Italian Swedish Portuguese German; do
    if [ "$NAMES" ]; then
        NAMES="$NAMES -or"
    fi
    NAMES="$NAMES -name $L.lproj"
done
find / ( $NAMES ) -type d -print -exec rm -rf -- {} ; -prune
df / 
date 
This gave me back a very welcome ~100Mb on my far-too-small partition.

[ Reply to This | # ]