Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easy conversion of multiple Safari .webloc to PC .url files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easy conversion of multiple Safari .webloc to PC .url files
Authored by: mkarau on Nov 23, '09 06:44:37AM
One note. One edit.
  1. Note: Worked perfectly with my VirtualBox machines, but a real-world WinXP install suffered from a Windows bug in processing the URL files. http://support.microsoft.com/kb/936881
  2. The Fix. Windows likes a final CarriageReturn+LineFeed at the end of the URL file. Once added and once WinXP has been "Hotfixed", all works smoothly. In the DropBox world, IE and Firefox on the PC will update the URL file with other details like icon and other meta-data. Thankfully, this does not break the link functionality on the Mac.
    
            	if [[ ${FILE_FORMAT_ERROR} -eq 0 ]] ; then
                    	echo "[${BASE}]" > "${URL_FILE_NAME}"
                    	echo "URL=${URL}" >> "${URL_FILE_NAME}"
    
                    	echo "" >> "${URL_FILE_NAME}"
    
                    	echo "Creating file: "${URL_FILE_NAME}""
            	else
                    	echo "ERROR. Unfamiliar webloc file format, "${BASE}".webloc"
            	fi
    


[ Reply to This | # ]