On Tue, 16 Nov 2010 19:18:23 -0800, Grant wrote: > > find / -exec qfile -o '{}' \;
> Thanks Willie, that gave me a great list. Very cool command. Almost > all the orphaned stuff in /usr/lib/perl5 is either in: > > /usr/lib/perl5/site_perl/5.12.2 > > with corresponding but not orphaned contents in: > > /usr/lib/perl5/vendor_perl/5.12.2 Does the first directory contain symlinks to the files in the second? You should exclude symlinks from the process by adding -type f to the find command (you can clear up dangling symlinks later). > or the orphaned stuff is in: > > /usr/lib/perl5/5.12.2/x86_64-linux > > Do the orphaned files sound OK to delete in this case? Is there a > slick way to do so? If you know which modules you installed with CPAN, you should be able to tell which directory contains the files you need to get rid of. Then run the find ... --orphans command over that directory and feed its output to rm. -- Neil Bothwick Will the last human please uninstall internet.exe.
signature.asc
Description: PGP signature