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

Click here to return to the '10.5: View the new 'man' pages on upgraded systems' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: View the new 'man' pages on upgraded systems
Authored by: richwiss on Dec 13, '07 07:50:16PM
Before you delete all the files, you can save them all in a tar archive:

sudo find /usr/share/man -exec test -e {}.gz \; -exec tar --absolute-names -rzvf ~/man.tgz {} \;

I should note that I had no problems running this command without leading sudo, so you may wish to omit that.

There might be a smarter way to first list all the files and then form the archive, but this only took 1 minute and 41 seconds.

If you ever need to restore: tar xzf ~/man.tgz will put them all back.

[ Reply to This | # ]