Compress your 'man' pages to save space

Apr 12, '01 05:59:25PM

Contributed by: Anonymous

Run this command:

gzip -f /usr/share/man/man1/*
to save some disk space!

Re-run for man2 to man8... Also run on any other man directories you might have (like /usr/X11R6/man if you installed XFree86 or /usr/local/man if you installed lots of 3rd party UNIX software).

The command will compress the man pages, significantly reducing their space usage. after that, 'man' will be a bit slower because it has to decompress all the man pages before display, but it's worth it if you want some drive space back.

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2001041217592563