On Thu, 27 Jul 2000, George Sullivan wrote:
> It would appear that the Netscape bookmarks are in a file "bookmarks.html"
> in the directory .netscape in the home directory. Does anyone know if you
> can somehow transfer the bookmarks from MS Internet Explorer into this file
One of the things I particuarlly like about Netscape over IE is the fact
that it keeps its bookmarks in a fairly standard and portable HTML file.
With IE, Microsoft naturally had to invent their very own file format. It
also creates one file per bookmark, which is hard to manage and marvouslously
inefficient. They were, however, nice enough to make them plain text, so ...
Here's a quick shell one-liner that will write (on standard out) a list of
HTML bookmarks from all of the "Internet Shortcut" files in the current
directory. YMMV.
for F in *.url ; do S=$(basename "$F" .url ) ; \
echo "<A HREF=\"$( < "$F" tr -d \\r | grep -i ^url= | \
awk -F= '{ print $2 }')\">$S</A>" ; done
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************