I decided to switch from ReadItLater.com to Instapaper and needed to move all my links over. There does not seem to be any way to do it so I made one. Simply run the following script, entering your personal data in the relevant places:
curl -k "https://readitlaterlist.com/v2/get?username=[user]&password=[pass]&apikey=[key]&since=1245638446" >ril.txt tr "{}" "\n " <ril.txt >ril2.txt tr -d '\\' <ril2.txt >ril.txt sed "s/\"\:\"/\,/g" ril.txt >ril2.txt sed "s/\x22//g" ril2.txt >ril.txt awk -F "," "{print $7}" <ril.txt >ril2.txt awk -F "," "{print $6}" <ril.txt >>ril2.txt grep "http" ril2.txt >dump.txt awk "{print \"curl -k -d username=\x22[user]\x22 -d password=[pass] -d url=\x22\"$0 \"\x22 https://www.instapaper.com/api/add\" }" <dump.txt >upload.cmd del ril.txt del ril2.txt
You can then run upload.cmd to add your URLs to InstaPaper. You need curl, tr, sed, awk and grep. It could be done from Perl too but I don’t have time to figure it out.