How to recover filenames from share log /soulseek-client.dat/?
Submitted by azaki101 on Tue, 04/21/2015 - 10:42
Forums:
Greetings all members who interested in this topic!
Sh*t happens: my hdd,where 90.000+ music files were stored just dropped by one of my friend and destroyed...the only thing what's left from my collection is the "soulseek-client.dat.1234something" file,what I believe I've only had because I've had added myself to my own user list anno :D (..and as it seems it could became handy now!)
The only problem is: I can't get any software what could comb this file content (all is text,filenames with "...#..." and "......" separations in between).
Can anyone please help me out with a solution to save a part of my collection this way?
Thanks!!! :)
- Log in to post comments
If you send me a link to the
If you send me a link to the file in private (you can upload it to dropbox or a similar service) I should be able to use it to generate a list of your shared files.
Here's one for the Linux (and
Here's one for the Linux (and maybe also OS X) folks...after lots of optimizations and fixes, I think I can finally let this one loose on you guys...well it's "only" one line, but heh, WHAT a line...
$ strings -eS your_datfile.dat | LC_ALL=C sed 's!\(\.[7a-zA-Z][34a-z]\([34u]\|[a-z][cg]\?\)\)[\x01-\xff]\{1,2\}$!\1!g;1,/shared_file_name/d;/wish_list_item/,$d' | tee output_file.txt
Yeehaw, *NIX magic again. :P Well, I guess there might be lots of optimizations and maybe further specializations and/or fixes to that line, but I think the output is already pretty good as it is now. :)