Netscape bookmark の linux と win での変換
2002.01.08
cat "/mnt/dos/Program Files/Netscape/hoge/bookmark.htm" |
nkf -e > bookmarks.html
ルートで実行?
2000.05.07
+Linux to dos
$ kcc -s bookmarks.html > bookmark.htm
or
$ nkf -s bookmarks.html > bookmark.htm
+Dos to Linux
$ kcc -e bookmark.htm > bookmarks.html
or
$ nkf -e bookmark.htm > bookmarks.html
1999.05.17
Translate files
+/home/user/.netscape/bookmarks.html
+/fat-c/progra~1/netscape/users/users-name/bookmark.htm
+From linux to win95
$ cd ~/.netscape/
$ /usr/local/bin/kcc -s bookmarks.html > t.t
( translate EUC into SJIS )
mount DOS partition
$ su -
# cd /fat-c/progra~1/netscape/users/j_wada/
# cp /home/user/.netscape/t.t .
# exit
$
( rename t.t to bookmark.htm and reboot win95 )
+From win95 to linux
mount DOS partition
$ cd .netscape/
$ cp /fat-c/progra~1/netscape/users/j_wada/bookmark.htm .
$ /usr/local/bin/kcc -e bookmark.htm > t.t
( translate SJIS into EUC )
$ mv bookmarks.html bookmarks.html.yy.mm.dd
( backup bookmark )
$ mv t.t bookmarks.html
戻る