If you want to take a walk on the geek side, try popping open terminal from spotlight. I recently needed to parse a webarchive to find and replace absolute paths with relative paths. Ultimately the following worked:
find . -name "*.htm*" -exec sed -ie 's/href="\//href=".\//g' {} \;
Using terminal one can issue many Unix commands. One way to get help is to type the 'man' - short for manual and the name of the command:
So in the instance above, one might type:
man find (shows the manual page for find)
man sed (shows the manual page for stream editor)
0 comments:
Post a Comment