Web location files and dragging to the Terminal

Sep 04, '03 08:40:00AM

Contributed by: dmmorse

If you're like me, you drag files into the Terminal window regularly to get the full path of the file auto-magically inserted into your command line.

I was therefore surprised to find out that dragging a .webloc file (those files you create by dragging URLs from your browser onto the desktop) into a terminal window did not place the full path of the file into the command line. Rather, the web location stored in the .webloc file was placed on the command line!

This could be handy when the right circumstances pop up. Unfortunately, I have yet to figure out what the right circumstances are!

Comments (8)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030903012132644