Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever posted them. This site is not responsible for what they say.
10.5: View the new 'man' pages on upgraded systems
Authored by: jabial on Tue, Mar 4 2008 at 7:50AM PST
The find -type f trick is good, but you also need to do another one with -type l to take into accound the symbolic links to the old man pages, which need to be removed also.

Personnally I used
<code>
sudo mkdir /usr/share/man/old
sudo find /usr/share/man -type f -exec test -e {}.gz \; -exec mv {} /usr/share/man/old \;
sudo find /usr/share/man -type l -exec test -e {}.gz \; -exec mv {} /usr/share/man/old \;
</code>

That way you can restore the files if the command fails - which I doubt if you copy it correctly. I'll delete the /usr/share/man/old directory after a month if I encounter no problems.

[ Reply to This | # ]