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


Click here to return to the 'Desktop Folder Action - Convert 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.
Desktop Folder Action - Convert Safari .webloc to PC .url files
Authored by: klar on Jul 23, '07 05:00:11PM

I almost didn't respond because this website forced me to register in order to leave a reply, but I did, and then had to navigate back to this page 3 times.


Anyway, the problem is insufficient quoting on the grep line, just use the version from the original post the backslashes should all be in pairs (awwww)


set cmd to devToolsPath & "DeRez -e -only 'url ' " & weblocPath &
" | grep '\\/\\* .* \\*\\/' | sed 's/^.*\\/\\* //;s/ \\*\\/$//' | tr -d '\\n'"



[ Reply to This | # ]