Re: Parsing Firefox history.dat file?

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Alan Dayley
Date:  
À: Main PLUG discussion list
Sujet: Re: Parsing Firefox history.dat file?
Eric "Shubes" wrote:
>
> Nice little exercise. I'm sure there are a myriad of ways to do this.
>
> This is what I came up with (from directory containing history.dat):
> $ tr -d '\\\n' <history.dat | tr ')' '\n' | grep =http:// | cut -d = -f 2-
>> history.urls
>
> It basically does this:
> 1) strips out all backslashes and newlines
> 2) replaces all close-parentheses with newlines
> 3) selects all lines containing =http:
> 4) cuts off the front of each line up through the first '='
>
> When I run it, what appears to be in the history.url file is nothing but
> urls. How's it work for you?


Thank you. I'll try it tonight.

Alan


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss