Converting Nokia Backup Files (nbf) to CSV without a Nokia phone
I struggled with Nokia PC Suite, Nokisoft, and some nfb python scripts before realizing that I was actually looking at a zip archive of my phone filesystem!
Wow, so it’s really this easy:
- rename the backup from backup.nbf to backup.zip
- unpack it with: unzip backup.zip (or using winzip)
- search for .vcf files inside the archive. In my case they were located under predefhiddenfolder/backup/WIP/32/contacts
Converting the .vcf files to something which vaguely resembles a .csv file is trivial.
I used an ugly oneliner to do it. Here it comes for your pleasure:
$ cat *.vcf |grep -v ^VERSION|grep -v ^BEGIN|grep -v ^END|cut -d ':' -f 2- |sed 'N;s/\r\n/,/;s/;/ /'