Home > General, Software > Extracting URLs from .webloc Files

Extracting URLs from .webloc Files

Before I forget how to do this, here is a simple way to extrac URLs from Safari’s .webloc files:

find ./ -name '*.webloc' -exec strings '{}'/rsrc \; | grep http | sed '/^.http/s//http/' | sort -u | pbcopy

Seems to work for me.

Categories: General, Software Tags:
  1. No comments yet.
  1. No trackbacks yet.