#!/usr/bin/perl # # Grab That Cache # by David Nicol # open FILELIST, "find ~/.netscape/cache -type f |"; mkdir "pages$$", 0777 or die "Could not make directory to put the HTML pages in.\n"; $Page = 'aa'; while () { chomp; print "adding $_ to pages$$/$Page.html\n"; open PAGE, ">> pages$$/$Page.html" or die $!; print PAGE "\n"; $. % 10 or print PAGE "
\n\n"; $. % 100 or $Page++; } close FILELIST;