Safari “.webloc” File is Using Mac Resource Fork
Discovered that Mac still uses resource fork in a major way.
Open Safari, go to a website, then drag the URL to your desktop. You'll get a file named like this: 〔site title.webloc〕.
- Double click the file will open the website in a default browser.
- Dragging the file to Safari or Firefox will also open the URL.
The “webloc” file is a binary file. The file also contains resource fork.
Deleting the Resource Fork
If you delete the resource fork, the file won't work properly.
- In OS X 10.6.x, double clicking the file still works, but dragging the file to Safari or Firefox won't open the page.
- In OS X 10.4, double click does not work anymore, nor dragging the file to a browser.
For how to delete resource fork and other tips, see: Mac OS X Resource Fork and Command Line Tips.
Ask me question on patreon